changeset 2951:e85b62acee29

fix trivial formatting error causing traceback when disabling an account
author RogerHaase <haaserd@gmail.com>
date Sat, 13 Jun 2015 15:05:12 -0700
parents 70d81ebcf2c5
children 42a7d30a6ee0
files MoinMoin/script/account/disable.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/script/account/disable.py	Sat Jun 13 15:00:29 2015 -0700
+++ b/MoinMoin/script/account/disable.py	Sat Jun 13 15:05:12 2015 -0700
@@ -39,7 +39,7 @@
             print 'This user "{0!r}" does not exists!'.format(u.name)
             return
 
-        print " {0:<20} {1:!r<25} {2:<35}".format(u.itemid, u.name, u.email),
+        print " {0:<20} {1!r:<25} {2:<35}".format(u.itemid, u.name, u.email),
         if not u.disabled:  # only disable once
             u.disabled = 1
             u.name = u"{0}-{1}".format(u.name, u.id)