Permalink
Browse files

Appease flake8; use 'raw' string notation in regex

  • Loading branch information...
crwood committed Oct 25, 2018
1 parent 94c0e2e commit ee2a0ad6cab28d55eefc57fcbf91ef7d16c6f6bc
Showing with 2 additions and 2 deletions.
  1. +2 −2 setup.py
View
4 setup.py 100755 → 100644
@@ -39,10 +39,10 @@
module_file = open("gridsync/__init__.py").read()
metadata = dict(re.findall("__([a-z]+)__\s*=\s*'([^']+)'", module_file))
metadata = dict(re.findall(r"__([a-z]+)__\s*=\s*'([^']+)'", module_file))
version_file = open("gridsync/_version.py").read()
version = re.findall("__version__\s*=\s*'([^']+)'", version_file)[0]
version = re.findall(r"__version__\s*=\s*'([^']+)'", version_file)[0]
if sys.platform == 'darwin':

0 comments on commit ee2a0ad

Please sign in to comment.