diff --git a/bin/showgroup.py b/bin/showgroup.py index 55edd9bdebc8d083bbcc77e8c8813ae22a0a7370..eff10adb008d78cc04b4e160aa8b2fa59e9ab073 100755 --- a/bin/showgroup.py +++ b/bin/showgroup.py @@ -63,7 +63,7 @@ def main(): users = dphysldap.Users(ldap, attrs) users.search(';'.join(members)) - #users.sort('uid') + users.sort('uid') print(users) diff --git a/bin/showuser.py b/bin/showuser.py index 94c9379d44f41ecbb7d3b23f574b7ef6b433d0f6..e3151c37c5b96396df84638beea141750a31abc1 100755 --- a/bin/showuser.py +++ b/bin/showuser.py @@ -32,7 +32,7 @@ def main(): users = dphysldap.Users(ldap, attrs) users.search(args['user']) - #users.sort('uid') + users.sort('uid') if not users: sys.exit('No users found.')