Skip to content
Snippets Groups Projects
Commit 676e09b9 authored by Martin Mareš's avatar Martin Mareš
Browse files

parse-okresy: Ještě jeden titul k mazání

parent 1c64e540
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,7 @@ for line in sys.stdin: ...@@ -89,7 +89,7 @@ for line in sys.stdin:
role = re.sub(' +', ' ', role) role = re.sub(' +', ' ', role)
raw_name = re.sub('^((Mgr|Paed?Dr|Bc|doc|PhDr|RNDr)\. *)+', "", name) raw_name = re.sub('^((Mgr|Ing|Paed?Dr|Bc|doc|PhDr|RNDr)\. *)+', "", name)
print(f': {name} -> {raw_name}', file=sys.stderr) print(f': {name} -> {raw_name}', file=sys.stderr)
curr = Garant(name=name, raw_name=raw_name, role=role, emails=[], phones=[]) curr = Garant(name=name, raw_name=raw_name, role=role, emails=[], phones=[])
curr_g.append(curr) curr_g.append(curr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment