diff options
author | Rob Austein <sra@hactrn.net> | 2015-11-10 13:09:07 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-11-10 13:09:07 +0000 |
commit | ac415cdd0f88f8479975627772dd0a84797b261a (patch) | |
tree | 4c943706862165f42d4164138504446c3e132ea0 /rpki/config.py | |
parent | 947f220a4884a44b62afd18892b14433e440a139 (diff) |
Use a lock to serialize rpkid tasks. Add temporary trace call
sequence trace code to rpki.rpkidb.models to assist in simplifying
some of the gratuitously complicated method call chains. Various
trivial PyLint cleanups.
svn path=/branches/tk705/; revision=6161
Diffstat (limited to 'rpki/config.py')
-rw-r--r-- | rpki/config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpki/config.py b/rpki/config.py index 5dd03a6d..a9bd3219 100644 --- a/rpki/config.py +++ b/rpki/config.py @@ -170,6 +170,7 @@ class parser(object): Get a boolean option, perhaps with a default value. """ + # pylint: disable=W0212 v = self.get(option, default, section) if isinstance(v, str): v = v.lower() @@ -264,7 +265,7 @@ class parser(object): rpki.x509.generate_insecure_debug_only_rsa_key = rpki.x509.insecure_debug_only_rsa_key_generator(*self.get("insecure-debug-only-rsa-key-db").split()) except ConfigParser.NoOptionError: pass - except: # pylint: disable=W0702 + except: logger.warning("insecure-debug-only-rsa-key-db configured but initialization failed, check for corrupted database file") try: |