diff --git a/migrate.py b/migrate.py index d6172871ae..cdff51d92a 100755 --- a/migrate.py +++ b/migrate.py @@ -744,7 +744,7 @@ def heading_replace(match): level = len(match.group(1)) heading = match.group(2).rstrip() - if create_wiki_link_conversion_table: + if not isinstance(conv_help, IssuesConversionHelper) and create_wiki_link_conversion_table: with open('wiki_path_conversion_table.txt', "a") as f: f.write(conv_help._trac_wiki_path + '#' + heading.replace(' ', '') + ' ' + conv_help._wiki_path + '#' + heading.replace(' ', '-'))