pylint: remove bare except

Bare except should not be used.

Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Lukas Slebodnik <lslebodn@redhat.com>
This commit is contained in:
Martin Basti
2016-03-11 19:51:07 +01:00
parent aa74995736
commit 491447cc5a
25 changed files with 51 additions and 57 deletions

View File

@@ -127,7 +127,7 @@ class CertDB(object):
shutil.rmtree(self.reqdir, ignore_errors=True)
try:
os.chdir(self.cwd)
except:
except OSError:
pass
def setup_cert_request(self):