diff options
Diffstat (limited to 'rdiff-backup/rdiff_backup')
-rw-r--r-- | rdiff-backup/rdiff_backup/robust.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/robust.py b/rdiff-backup/rdiff_backup/robust.py index 495cda3..c276b6b 100644 --- a/rdiff-backup/rdiff_backup/robust.py +++ b/rdiff-backup/rdiff_backup/robust.py @@ -74,7 +74,7 @@ def is_routine_fatal(exc): return "Lost connection to the remote system" elif isinstance(exc, SignalException): return "Killed with signal %s" % (exc,) - elif isinstance(exc, EnvironmentError) and e.errno == errno.ENOTCONN: + elif isinstance(exc, EnvironmentError) and exc.errno == errno.ENOTCONN: return ("Filesystem reports connection failure:\n%s" % exc) return None |