summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Cormack <chrisc@catalyst.net.nz>2011-05-18 20:31:42 +1200
committerOwen W. Taylor <otaylor@fishsoup.net>2012-02-04 14:56:59 -0500
commita1780627095d567251aefa484976213b72c4148b (patch)
treef0a68ef667e3172a3185e46631729c5d0acd31d0
parentd5d6ca538cd4b7a1b4aadea67480b5bed05f37c4 (diff)
Fix a copy and paste error with auth-user and auth-password
-rwxr-xr-xgit-bz4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-bz b/git-bz
index 754032b..8bbd153 100755
--- a/git-bz
+++ b/git-bz
@@ -349,13 +349,13 @@ def tracker_get_path(tracker):
def tracker_get_auth_user(tracker):
config = get_config(tracker)
- if 'path' in config:
+ if 'auth-user' in config:
return config['auth-user']
return None
def tracker_get_auth_password(tracker):
config = get_config(tracker)
- if 'path' in config:
+ if 'auth-password' in config:
return config['auth-password']
return None