Skip to content

Commit 1871f3b

Browse files
authored
Merge pull request #2 from edquist/SOFTWARE-4751.sort-output
ensure sorted output (SOFTWARE-4751)
2 parents cae8f74 + 8ae5ad2 commit 1871f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osg-comanage-project-usermap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def get_osguser_groups():
185185

186186

187187
def print_usermap_to_file(osguser_groups, file):
188-
for osguser, groups in osguser_groups.items():
188+
for osguser, groups in sorted(osguser_groups.items()):
189189
print("* {} {}".format(osguser, ",".join(groups)), file=file)
190190

191191

0 commit comments

Comments
 (0)