Skip to content

Commit 6c62d32

Browse files
authored
Merge pull request #13 from jasoncpatton/INF-1050-strip-group-whitespace
INF-1050 Strip whitespace around group names in mapfile
2 parents 7b3202a + 56443d9 commit 6c62d32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

osg-comanage-project-usermap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def get_osguser_groups(filter_group_name=None):
205205

206206
def print_usermap_to_file(osguser_groups, file):
207207
for osguser, groups in sorted(osguser_groups.items()):
208-
print("* {} {}".format(osguser, ",".join(groups)), file=file)
208+
print("* {} {}".format(osguser, ",".join(group.strip() for group in groups)), file=file)
209209

210210

211211
def print_usermap(osguser_groups):

0 commit comments

Comments
 (0)