mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Fix python3 in show user
Showing a user was not working in python3
This commit is contained in:
parent
e008932389
commit
1dac61adca
@ -452,7 +452,7 @@ def show_usergroup(groupname, configmanager):
|
||||
def show_user(name, configmanager):
|
||||
userobj = configmanager.get_user(name)
|
||||
rv = {}
|
||||
for attr in attrscheme.user.iterkeys():
|
||||
for attr in attrscheme.user:
|
||||
rv[attr] = None
|
||||
if attr == 'password':
|
||||
if 'cryptpass' in userobj:
|
||||
|
Loading…
Reference in New Issue
Block a user