We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adfcdf4 commit 48cd94fCopy full SHA for 48cd94f
1 file changed
client/deis.py
@@ -50,7 +50,6 @@
50
import json
51
import locale
52
import os.path
53
-import random
54
import re
55
import subprocess
56
import sys
@@ -639,7 +638,7 @@ def auth_register(self, args):
639
638
print('Login failed')
640
else:
641
print('Registration failed', response.content)
642
- return False
+ sys.exit(1)
643
return True
644
645
def auth_cancel(self, args):
@@ -651,7 +650,7 @@ def auth_cancel(self, args):
651
650
controller = self._settings.get('controller')
652
if not controller:
653
print('Not logged in to a Deis controller')
654
655
print('Please log in again in order to cancel this account')
656
username = self.auth_login({'<controller>': controller})
657
if username:
0 commit comments