diff options
Diffstat (limited to 'calm/untest.py')
-rw-r--r-- | calm/untest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/untest.py b/calm/untest.py index 7d6d774..7744108 100644 --- a/calm/untest.py +++ b/calm/untest.py @@ -53,7 +53,7 @@ def untest(pvr): content = fh.read() if re.search(r'^test:', content, re.MULTILINE): - content = re.sub(r'^test:\s*$', '', content, 0, re.MULTILINE) + content = re.sub(r'^test:\s*$', '', content, count=0, flags=re.MULTILINE) with open(fn, 'w') as fh: fh.write(content) |