2
0
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:
Jarrod Johnson 2019-10-11 13:16:38 -04:00
parent e008932389
commit 1dac61adca

View File

@ -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: