[Pkg-owncloud-commits] [python-owncloud] 81/96: fixing use-keyring is required, was not found in cfg file or on cmd line.

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri Nov 22 01:28:30 UTC 2013


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository python-owncloud.

commit 2ae8832f1398a92fdf89e25696ce190ec74f198a
Author: hefee <hefee at netzguerilla.net>
Date:   Mon Apr 8 21:14:04 2013 +0200

    fixing use-keyring is required, was not found in cfg file or on cmd line.
---
 csync/csync.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/csync/csync.py b/csync/csync.py
index 6b030f4..4a5bae2 100755
--- a/csync/csync.py
+++ b/csync/csync.py
@@ -92,7 +92,7 @@ class ownCloudSync():
 		USERNAME = cfg['user']
 		PASSWORD = cfg['pass']
 		SSLFINGERPRINT = cfg['sslfingerprint']
-		USE_KEYRING = cfg['use-keyring']
+		USE_KEYRING = cfg['use_keyring']
 		libVersion = csynclib.csync_version(0,40,1)
 		if DEBUG:
 			print 'libocsync version: ', libVersion
@@ -253,7 +253,7 @@ def getConfig(args):
 	cfg.setdefault('sslfingerprint' '')
 	cfg.setdefault('pass', None)
 	cfg.setdefault('user', getpass.getuser())
-	cfg.setdefault('not-use-keyring', False)
+	cfg.setdefault('use_keyring', False)
 	if os.environ.has_key('OCPASS'):
 		cfg['pass'] = os.environ['OCPASS']
 		if DEBUG:

-- 
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