From 8755dbd309ae4eab754385853ac6959bfade588d Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 6 Jan 2014 15:35:18 -0800 Subject: Fix --- tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index 5db7a617..dba760ca 100644 --- a/tasks.py +++ b/tasks.py @@ -25,7 +25,8 @@ def update_version(filename, identifier, version): contents = re.sub( r"^{} = .*?$".format(identifier), '{} = "{}"'.format(identifier, version), - contents + contents, + flags=re.MULTILINE ) with open(path, "w") as f: f.write(contents) -- cgit v1.2.3