From 3987342fa7111df672240bd7289ffad1005690e5 Mon Sep 17 00:00:00 2001 From: owsla Date: Thu, 8 Jan 2009 21:03:44 +0000 Subject: Print more helpful error messages when the remote command cannot be started on Windows. Fix --test-server option when used with remote Windows clients. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-2@1011 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rdiff-backup/rdiff_backup/connection.py') diff --git a/rdiff-backup/rdiff_backup/connection.py b/rdiff-backup/rdiff_backup/connection.py index 2fbe8ea..7799585 100644 --- a/rdiff-backup/rdiff_backup/connection.py +++ b/rdiff-backup/rdiff_backup/connection.py @@ -203,7 +203,7 @@ class LowLevelPipeConnection(Connection): C.long2str(long(len(data)))) self.outpipe.write(data) self.outpipe.flush() - except IOError: raise ConnectionWriteError() + except (IOError, AttributeError): raise ConnectionWriteError() def _read(self, length): """Read length bytes from inpipe, returning result""" -- cgit v1.2.1