Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'calm/untest.py')
-rw-r--r--calm/untest.py2
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)