diff options
author | Rob Austein <sra@hactrn.net> | 2010-04-12 23:07:16 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-04-12 23:07:16 +0000 |
commit | 41c51dee21554e6ff668a399bdc1c72df9173722 (patch) | |
tree | 40de5869473a0b252bc63c719b5cf796386b11e9 /myrpki/myrpki.py | |
parent | 32c6fe7a8786a4d6393b4d05f423deb4594f377d (diff) |
Lint
svn path=/myrpki/myrpki.py; revision=3191
Diffstat (limited to 'myrpki/myrpki.py')
-rw-r--r-- | myrpki/myrpki.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/myrpki/myrpki.py b/myrpki/myrpki.py index a67ce15e..9dbb4ebd 100644 --- a/myrpki/myrpki.py +++ b/myrpki/myrpki.py @@ -737,7 +737,6 @@ class CA(object): finally: if not filename and os.path.exists(fn): os.unlink(fn) - pass def xcert(self, cert, path_restriction = 0): """ @@ -1325,7 +1324,7 @@ class main(rpki.cli.Cmd): try: import rpki.https, rpki.resource_set, rpki.relaxng, rpki.exceptions - import rpki.left_right, rpki.x509, rpki.async, lxml.etree + import rpki.left_right, rpki.x509, rpki.async if hasattr(warnings, "catch_warnings"): with warnings.catch_warnings(): warnings.simplefilter("ignore", DeprecationWarning) @@ -1409,8 +1408,6 @@ class main(rpki.cli.Cmd): xmlfiles.extend(argv) - my_handle = None - for xmlfile in xmlfiles: # Parse XML file and validate it against our scheme @@ -1419,9 +1416,6 @@ class main(rpki.cli.Cmd): handle = tree.get("handle") - if xmlfile == my_xmlfile: - my_handle = handle - # Update IRDB with parsed resource and roa-request data. cur.execute( |