[Pkg-owncloud-commits] [python-owncloud] 52/96: issue #17, moved to sslfingerprint, apparently case sensitivity is an issue in the cfg file. blah.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Nov 22 01:28:27 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 5c32717e4b3770da29c4ba61004be2e0239c2616
Author: Craig <csawyer at yumaed.org>
Date: Mon Mar 25 06:41:51 2013 -0700
issue #17, moved to sslfingerprint, apparently case sensitivity is an issue in the cfg file. blah.
---
csync/csync.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/csync/csync.py b/csync/csync.py
index 34ddce3..3641b05 100755
--- a/csync/csync.py
+++ b/csync/csync.py
@@ -92,7 +92,7 @@ class ownCloudSync():
global USERNAME, PASSWORD, SSLFINGERPRINT, NOT_USE_KEYRING
USERNAME = cfg['user']
PASSWORD = cfg['pass']
- SSLFINGERPRINT = cfg['sslFingerprint']
+ SSLFINGERPRINT = cfg['sslfingerprint']
NOT_USE_KEYRING = cfg['not-use-keyring']
libVersion = csynclib.csync_version(0,40,1)
if DEBUG:
@@ -251,7 +251,7 @@ def getConfig(args):
pcfg['pass'] = PASSWORD_SAFE
pprint.pprint(pcfg)
cfg.setdefault('davPath', 'remote.php/webdav/')
- cfg.setdefault('sslFingerprint' '')
+ cfg.setdefault('sslfingerprint' '')
cfg.setdefault('pass', None)
cfg.setdefault('user', getpass.getuser())
cfg.setdefault('not-use-keyring', False)
@@ -295,7 +295,7 @@ I support the following keys in the cfg file:
user: The username on the ownCloud server
url: the url of the ownCloud Server
pass: the password on the ownCloud server
- sslFingerprint: a valid SSL fingerprint for the server.
+ sslfingerprint: a valid SSL fingerprint for the server.
src: local directory to sync against.
dst: folder on the server to sync against.
complete example:
@@ -303,7 +303,7 @@ complete example:
user=awesomeSauce
pass=PasswordThisIsSuperSuperSecretReallyISwearLOL
url=https://www.example.org/owncloud/
-sslFingerprint=
+sslfingerprint=
src=/home/awesomeSauce/ownCloud
dst=clientsync
@@ -326,7 +326,7 @@ Password options:
parser.add_argument('-u', '--user', nargs='?', default = None,
help = "Username on server.")
parser.add_argument('--ssl', nargs='?', default = None,
- dest = 'sslFingerprint',
+ dest = 'sslfingerprint',
help = "SSL fingerprint on server to accept.")
parser.add_argument('-p', '--pass', nargs='?', default = None,
help = "Password on server. You can also store this in environment variable OCPASS.")
--
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