Skip to content

Commit 1132aba

Browse files
Fix the regex used for matching the version (#136)
1 parent 101903a commit 1132aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_version():
1414
filename = os.path.join(HERE, "pgsync", "__init__.py")
1515
with open(filename) as f:
1616
contents = f.read()
17-
pattern = r"^__version__ = '(.*?)'$"
17+
pattern = r"^__version__ = \"(.*?)\"$"
1818
return re.search(pattern, contents, re.MULTILINE).group(1)
1919

2020

0 commit comments

Comments
 (0)