Totally botched the spacing, wasn't Yves's fault
authorIan Weller <ian@ianweller.org>
Sun, 25 Apr 2010 09:59:52 +0000 (04:59 -0500)
committerIan Weller <ian@ianweller.org>
Sun, 25 Apr 2010 09:59:52 +0000 (04:59 -0500)
src/mw/clicommands.py

index f39cf8d6a670b92b44135cf1943bc7eb98348652..4ecafb0d9aef17e6f2678021b3f2e18d2d0c52c0 100644 (file)
@@ -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?