Skip to content

Commit

Permalink
Merge pull request #101 from william-billaud/master
Browse files Browse the repository at this point in the history
FIX Bug on workaround missing OS_AUTH_TYPE
  • Loading branch information
mergify[bot] authored Nov 28, 2018
2 parents 0995299 + 9749c67 commit 72cdf3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnocchiclient/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def build_option_parser(self, description, version):
# fix all the rc files of the world, workaround it here.
if ("OS_PASSWORD" in os.environ and
"OS_AUTH_TYPE" not in os.environ):
os.environ.set("OS_AUTH_TYPE", "password")
os.environ["OS_AUTH_TYPE"] = "password"

loading.register_session_argparse_arguments(parser=parser)
plugin = loading.register_auth_argparse_arguments(
Expand Down

0 comments on commit 72cdf3e

Please sign in to comment.