diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-08-29 12:36:57 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-08-29 12:36:57 +0300 |
commit | 617da1a9985b59b1654d9a0f92bb9facc2ff8be6 (patch) | |
tree | 16473794c19200cb68c75082e5293cff6647de85 /obnamlib/plugins/restore_plugin.py | |
parent | 19a1e06fef727d074ad917ff0d37f5d83deeb44e (diff) | |
download | obnam-617da1a9985b59b1654d9a0f92bb9facc2ff8be6.tar.gz |
Disable locally a warning about a broad exception
Diffstat (limited to 'obnamlib/plugins/restore_plugin.py')
-rw-r--r-- | obnamlib/plugins/restore_plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/plugins/restore_plugin.py b/obnamlib/plugins/restore_plugin.py index 97485ece..6c83d474 100644 --- a/obnamlib/plugins/restore_plugin.py +++ b/obnamlib/plugins/restore_plugin.py @@ -230,7 +230,7 @@ class RestorePlugin(obnamlib.ObnamPlugin): except obnamlib.SetMetadataError as e: self.app.ts.error(str(e)) self.errors = True - except Exception, e: + except Exception, e: # pylint: disable=broad-except # Reaching this code path means we've hit a bug, so we log # a full traceback. msg = "Failed to restore %s:" % (pathname,) |