Skip to content

Commit

Permalink
Remove python type hints from local mapfile merging methods
Browse files Browse the repository at this point in the history
  • Loading branch information
williamnswanson committed Sep 5, 2024
1 parent 72a9cfc commit ffe8ece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osg-comanage-project-usermap.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def get_osguser_groups(filter_group_name=None):
for pid, gids in pid_gids.items() }


def parse_inputfile(inputfile: str):
def parse_inputfile(inputfile):
user_groupmap = dict()
with open(inputfile) as file:
for line in file:
Expand All @@ -159,7 +159,7 @@ def parse_inputfile(inputfile: str):
return user_groupmap


def merge_maps(maps: list[dict[str, list]]):
def merge_maps(maps):
while len(maps) > 1:
merge_target = maps[0]
merge_material = maps.pop(1)
Expand Down

0 comments on commit ffe8ece

Please sign in to comment.