From ebb628270b11d3a8ce71f71a36856d8fe7a859f7 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Aug 23 2018 15:32:37 +0000 Subject: Fix the regex for the changes made by black Signed-off-by: Pierre-Yves Chibon --- diff --git a/setup.py b/setup.py index d64a458..d5d7ae5 100644 --- a/setup.py +++ b/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)