]> projects.mako.cc - mw/commitdiff
Fix spacing to standard
authorIan Weller <ian@ianweller.org>
Sun, 25 Apr 2010 09:55:00 +0000 (04:55 -0500)
committerIan Weller <ian@ianweller.org>
Sun, 25 Apr 2010 09:55:00 +0000 (04:55 -0500)
src/mw/clicommands.py

index a42bcfbab0107492d5f2c0b6acfac9d910228dc1..f39cf8d6a670b92b44135cf1943bc7eb98348652 100644 (file)
@@ -58,11 +58,11 @@ class CommandBase(object):
             # cookies are saved to a file
             print 'Login successful! (yay)'
         elif result['login']['result'] == 'NeedToken':
             # cookies are saved to a file
             print 'Login successful! (yay)'
         elif result['login']['result'] == 'NeedToken':
-            print'Login with token'
+            print 'Login with token'
             result = self.api.call({'action': 'login',
             result = self.api.call({'action': 'login',
-                               'lgname': user,
-                               'lgpassword': passwd,
-                               'lgtoken': result['login']['token']})
+                                    'lgname': user,
+                                    'lgpassword': passwd,
+                                    'lgtoken': result['login']['token']})
             if result['login']['result'] == 'Success':
                 print 'Login successful! (yay)'
     else:
             if result['login']['result'] == 'Success':
                 print 'Login successful! (yay)'
     else:

Benjamin Mako Hill || Want to submit a patch?