aboutsummaryrefslogtreecommitdiff
path: root/rpki/rpkic.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-05-29 22:31:15 +0000
committerRob Austein <sra@hactrn.net>2014-05-29 22:31:15 +0000
commit35c1ca65ac2b5cbd943248d59b3e02c6220b232f (patch)
treebf2daf07febf7cb352b8fcd530e62a1e5df89626 /rpki/rpkic.py
parent07a045d1259f30878abba416b86373c05c929965 (diff)
PyLint
svn path=/trunk/; revision=5845
Diffstat (limited to 'rpki/rpkic.py')
-rw-r--r--rpki/rpkic.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/rpki/rpkic.py b/rpki/rpkic.py
index e01eeae2..d37021a8 100644
--- a/rpki/rpkic.py
+++ b/rpki/rpkic.py
@@ -1,12 +1,12 @@
# $Id$
-#
+#
# Copyright (C) 2014 Dragon Research Labs ("DRL")
# Portions copyright (C) 2009--2013 Internet Systems Consortium ("ISC")
-#
+#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notices and this permission notice appear in all copies.
-#
+#
# THE SOFTWARE IS PROVIDED "AS IS" AND DRL AND ISC DISCLAIM ALL
# WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DRL OR
@@ -47,7 +47,7 @@ import rpki.x509
import rpki.async
import rpki.version
-from rpki.cli import Cmd, BadCommandSyntax, parsecmd, cmdarg
+from rpki.cli import Cmd, parsecmd, cmdarg
class BadPrefixSyntax(Exception): "Bad prefix syntax."
class CouldntTalkToDaemon(Exception): "Couldn't talk to daemon."
@@ -64,7 +64,7 @@ class main(Cmd):
completedefault = Cmd.filename_complete
# Top-level argparser, for stuff that one might want when starting
- # up the interactive command loop. Not sure -i belongs here, but
+ # up the interactive command loop. Not sure -i belongs here, but
# it's harmless so leave it here for the moment.
top_argparser = argparse.ArgumentParser(add_help = False)
@@ -82,6 +82,7 @@ class main(Cmd):
argsubparsers = full_argparser.add_subparsers(title = "Commands", metavar = "")
def __init__(self):
+
os.environ["TZ"] = "UTC"
time.tzset()
@@ -597,7 +598,7 @@ class main(Cmd):
"""
Show resources received by this entity from its parent(s).
"""
-
+
for pdu in self.zoo.call_rpkid(
rpki.left_right.list_received_resources_elt.make_pdu(self_handle = self.zoo.handle)):