Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FUSS
octofussctl
Commits
455f4c3a
Commit
455f4c3a
authored
Apr 09, 2010
by
Christopher R. Gabriel
Browse files
manage login failed exception
parent
69c400ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
octofussctl
View file @
455f4c3a
...
...
@@ -390,8 +390,11 @@ if user is None:
password
=
os
.
environ
.
get
(
"OCTOFUSS_PASSWORD"
,
None
)
if
password
is
None
:
password
=
getpass
.
getpass
(
"Password: "
)
app
=
App
(
url
,
user
,
password
)
try
:
app
=
App
(
url
,
user
,
password
)
except
Exception
,
e
:
print
e
sys
.
exit
(
2
)
if
opts
.
batch
:
try
:
...
...
@@ -424,5 +427,6 @@ else:
except
KeyboardInterrupt
:
print
pass
except
KeyError
,
e
:
print
e
#print "Connecting to", sys.argv[0]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment