[Pkg-owncloud-commits] [python-owncloud] 16/33: Updated the version numbers in the error 'handler'.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Nov 22 01:49:47 UTC 2013
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch upstream
in repository python-owncloud.
commit de251ad5878916a20d0ce3355a9723a20058e78d
Author: Diederik de Haas <github at cknow.org>
Date: Tue Nov 12 23:09:35 2013 +0100
Updated the version numbers in the error 'handler'.
---
csync/csync.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/csync/csync.py b/csync/csync.py
index 5e6a20a..22d0428 100755
--- a/csync/csync.py
+++ b/csync/csync.py
@@ -195,9 +195,9 @@ def error(ctx, cmd, returnCode):
errNum = csynclib.csync_get_error(ctx)
errMsg = csynclib.csync_get_error_string(ctx)
if not errMsg:
- if errNum == 20 and cmd == 'csync_update':
+ if errNum == 21 and cmd == 'csync_update':
errMsg = 'This is an authentication problem with the server, check user/pass.'
- if errNum == 26 and cmd == 'csync_update':
+ if errNum == 27 and cmd == 'csync_update':
errMsg = 'This is a remote folder destination issue, check that the remote folder exists on ownCloud.'
print 'ERROR: %s exited %s, error %s: %s' % (
cmd,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/python-owncloud.git
More information about the Pkg-owncloud-commits
mailing list