Skip to content

Commit 2ea834a

Browse files
author
Richard Jones
committed
tabs
1 parent 7e65b65 commit 2ea834a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/fixroles.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ def do_fixroles(self, args):
2222
The admin user gets "Admin", the anonymous user gets "Anonymous"
2323
and all other users get "User".
2424
'''
25-
# get the user class
26-
cl = self.get_class('user')
25+
# get the user class
26+
cl = self.get_class('user')
2727
for userid in cl.list():
2828
username = cl.get(userid, 'username')
2929
if username == 'admin':
@@ -32,7 +32,7 @@ def do_fixroles(self, args):
3232
roles = 'Anonymous'
3333
else:
3434
roles = 'User'
35-
cl.set(userid, roles=roles)
35+
cl.set(userid, roles=roles)
3636
return 0
3737

3838
if __name__ == '__main__':

0 commit comments

Comments
 (0)