From 1dac61adca4a60e505cbc1bba8f5adf4eb0a69a7 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 11 Oct 2019 13:16:38 -0400 Subject: [PATCH] Fix python3 in show user Showing a user was not working in python3 --- confluent_server/confluent/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/core.py b/confluent_server/confluent/core.py index ff816422..3fdffd91 100644 --- a/confluent_server/confluent/core.py +++ b/confluent_server/confluent/core.py @@ -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: