diff options
author | Bruno Wagner <bwagner@thoughtworks.com> | 2014-10-22 18:30:04 +0200 |
---|---|---|
committer | Bruno Wagner <bwagner@thoughtworks.com> | 2014-10-22 18:30:04 +0200 |
commit | 9402ad0f89de23570d391656c9bdbbc4141a65ca (patch) | |
tree | c65cf66b0ffbf3781ac984270d9f4679e0f2d560 /service/pixelated | |
parent | 23a1770d1778c7d150016f4f23a3b95d74680274 (diff) |
Fixed pip errors
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/config/app_factory.py | 4 | ||||
-rw-r--r-- | service/pixelated/config/credentials_prompt.py | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/service/pixelated/config/app_factory.py b/service/pixelated/config/app_factory.py index 6943210b..8d2bcb1c 100644 --- a/service/pixelated/config/app_factory.py +++ b/service/pixelated/config/app_factory.py @@ -78,8 +78,8 @@ def create_app(debug_enabled, app): with app.app_context(): try: leap_session = LeapSession.open(app.config['LEAP_USERNAME'], - app.config['LEAP_PASSWORD'], - app.config['LEAP_SERVER_NAME']) + app.config['LEAP_PASSWORD'], + app.config['LEAP_SERVER_NAME']) except ConnectionError, error: print("Can't connect to the requested provider") sys.exit(1) diff --git a/service/pixelated/config/credentials_prompt.py b/service/pixelated/config/credentials_prompt.py index 34369405..de4095b0 100644 --- a/service/pixelated/config/credentials_prompt.py +++ b/service/pixelated/config/credentials_prompt.py @@ -1,5 +1,6 @@ import getpass + def run(): provider = raw_input('Which provider do you want to connect to:\n') username = raw_input('What\'s your username registered on the provider:\n') |