summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-10-02 06:28:09 +0000
committerGerrit Code Review <review@openstack.org>2012-10-02 06:28:09 +0000
commita99a37f7f6d905f4c305e68f8f5bd58e37683213 (patch)
treeaf1ba23631a776eadb5fe06d2e8848a60ac6efe1 /bin
parent57dfd21e1bea1b53709e0836a7e521c2c6e48309 (diff)
parent8e2e97fd75b9eaf36d72193408d7b8b7b5793a60 (diff)
downloadpython-swiftclient-a99a37f7f6d905f4c305e68f8f5bd58e37683213.tar.gz
Merge " Fix swiftclient 400 error when OS_AUTH_URL is set."
Diffstat (limited to 'bin')
-rwxr-xr-xbin/swift3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/swift b/bin/swift
index e69dcd0..7d6d40e 100755
--- a/bin/swift
+++ b/bin/swift
@@ -1007,8 +1007,7 @@ def parse_args(parser, args, enforce_requires=True):
args = ['-h']
(options, args) = parser.parse_args(args)
- if (not (options.auth and options.user and options.key) or
- options.os_auth_url):
+ if (not (options.auth and options.user and options.key)):
# Use 2.0 auth if none of the old args are present
options.auth_version = '2.0'