forked from redmine-gitlab-migrator/redmine-gitlab-migrator
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix invalid usage of re.sub in wiki converter
The flags parameter was being passed in as the count parameter, so not all links got converted properly (and probably caused some other issues as well). Removed the flags parameter, since it was clearly not doing anything and it's not even valid when used with a precompiled pattern. Perhaps the compiled patterns need to be updated to include these flags? Will add them later if it turns out to be needed.
- Loading branch information
Davíð Steinn Geirsson
committed
Jun 30, 2020
1 parent
c988fbd
commit 05b77cc
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters