diff options
author | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2009-01-08 21:03:44 +0000 |
---|---|---|
committer | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2009-01-08 21:03:44 +0000 |
commit | 3987342fa7111df672240bd7289ffad1005690e5 (patch) | |
tree | ec613ac17c4b956dc5c1c8b3081d956bd6e2399e /rdiff-backup/rdiff_backup/connection.py | |
parent | 1986e8f698b346f0ff35b272aeea0258a6c640b7 (diff) | |
download | rdiff-backup-3987342fa7111df672240bd7289ffad1005690e5.tar.gz |
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
Diffstat (limited to 'rdiff-backup/rdiff_backup/connection.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
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""" |