doxygen-link: Be python3 compatible
Reported-by: Teto <mattator@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
parent
74db300236
commit
72bf363654
1 changed files with 1 additions and 1 deletions
|
@ -17,4 +17,4 @@ def translate(match):
|
|||
|
||||
rc = re.compile('|'.join(map(re.escape, sorted(links, reverse=True))))
|
||||
for line in open(sys.argv[2], 'r'):
|
||||
print rc.sub(translate, line),
|
||||
print(rc.sub(translate, line))
|
||||
|
|
Loading…
Add table
Reference in a new issue