diff options
author | Rob Austein <sra@hactrn.net> | 2014-05-31 18:32:19 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-05-31 18:32:19 +0000 |
commit | a7cad7f4aab21d48eb783935dfabb9859bcc4f37 (patch) | |
tree | fa8ec4816cfbef4bb3edf01319fe4b7db9b3a73b /rp/utils/uri | |
parent | 61309aa7e3c4d8abb6b7e78c979c851f59a70fc4 (diff) |
Still more PyLint.
svn path=/trunk/; revision=5856
Diffstat (limited to 'rp/utils/uri')
-rwxr-xr-x | rp/utils/uri | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/rp/utils/uri b/rp/utils/uri index e095eb30..e72d5e0d 100755 --- a/rp/utils/uri +++ b/rp/utils/uri @@ -1,13 +1,13 @@ #!/usr/bin/env python # # $Id$ -# +# # Copyright (C) 2014 Dragon Research Labs ("DRL") -# +# # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. -# +# # THE SOFTWARE IS PROVIDED "AS IS" AND DRL DISCLAIMS ALL WARRANTIES WITH # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY # AND FITNESS. IN NO EVENT SHALL DRL BE LIABLE FOR ANY SPECIAL, DIRECT, @@ -24,7 +24,6 @@ Input files must be in DER format and may be either X.509v3 certificates or CMS objects which contain X.509v3 certificates in the CMS wrapper. """ -import os import argparse import rpki.POW @@ -41,7 +40,7 @@ class Certificate(object): def __init__(self, fn): try: x = rpki.POW.X509.derReadFile(fn) - except: + except: # pylint: disable=W0702 try: cms = rpki.POW.CMS.derReadFile(fn) cms.extractWithoutVerifying() |