projects
/
mw
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a77592f
)
Totally botched the spacing, wasn't Yves's fault
author
Ian Weller
<ian@ianweller.org>
Sun, 25 Apr 2010 09:59:52 +0000
(
04:59
-0500)
committer
Ian Weller
<ian@ianweller.org>
Sun, 25 Apr 2010 09:59:52 +0000
(
04:59
-0500)
src/mw/clicommands.py
patch
|
blob
|
history
diff --git
a/src/mw/clicommands.py
b/src/mw/clicommands.py
index f39cf8d6a670b92b44135cf1943bc7eb98348652..4ecafb0d9aef17e6f2678021b3f2e18d2d0c52c0 100644
(file)
--- a/
src/mw/clicommands.py
+++ b/
src/mw/clicommands.py
@@
-65,8
+65,8
@@
class CommandBase(object):
'lgtoken': result['login']['token']})
if result['login']['result'] == 'Success':
print 'Login successful! (yay)'
- else:
- print 'Login failed: %s' % result['login']['result']
+
else:
+
print 'Login failed: %s' % result['login']['result']
else:
print 'Login failed: %s' % result['login']['result']
Benjamin Mako Hill
||
Want to submit a patch?