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 | d171e39de8f61c089526998b52841d8c8655f791 (patch) | |
tree | 0b957492f663c3740fb31e14c5d5f4846cb2f050 /rdiff-backup/rdiff_backup/connection.py | |
parent | f4400c2a968e3ba8e69c4140de79fd288d9480ea (diff) | |
download | rdiff-backup-d171e39de8f61c089526998b52841d8c8655f791.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/trunk@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""" |