From a9098e5b7bd72a8feecd3c0d6a719a974388bca7 Mon Sep 17 00:00:00 2001 From: owsla Date: Tue, 6 Jan 2009 21:10:45 +0000 Subject: Fix typo git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-2@1001 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/robust.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rdiff-backup') 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 -- cgit v1.2.1