Skip to content
Snippets Groups Projects
Commit 58bdfc2a authored by Matthew K Defenderfer's avatar Matthew K Defenderfer
Browse files

change groups to group to return tld as string instead of tuple

parent 526b4b8d
No related branches found
Tags v0.1.1
1 merge request!15Update main to v0.1.1
......@@ -33,7 +33,7 @@ def parse_line(line):
grp = re.match(r'(?:/data/user(?:/home)?/|/data/project/|/scratch/)([^/]+)',path)
if grp:
tld = grp.groups(1)
tld = grp.group(1)
else:
tld = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment