Browse Source

Fix the regex for the changes made by black

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
Pierre-Yves Chibon 5 years ago
parent
commit
ebb628270b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -16,7 +16,7 @@ pagurefile = os.path.join(os.path.dirname(__file__), 'pagure', '__init__.py')
 # https://github.com/zzzeek/sqlalchemy/blob/master/setup.py#L104
 with open(pagurefile) as stream:
     __version__ = re.compile(
-        r".*__version__ = '(.*?)'", re.S
+        r".*__version__ = \"(.*?)\"", re.S
     ).match(stream.read()).group(1)