Mercurial > evolve
diff setup.py @ 2036:2d9e7b936ee1
flake8: fix error in 'setup.py'
Some strange indentation in there.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 02 Mar 2017 20:23:45 +0100 |
parents | 143c8e4dc22d |
children | b81d3775006b |
line wrap: on
line diff
--- a/setup.py Thu Mar 02 20:23:18 2017 +0100 +++ b/setup.py Thu Mar 02 20:23:45 2017 +0100 @@ -9,8 +9,8 @@ # (gives unicode object in PY2) line = line.decode('utf8') if '__version__' in line: - if "'" in line: - return line.split("'")[1] + if "'" in line: + return line.split("'")[1] def min_hg_version(relpath): '''Read version info from a file without importing it''' @@ -19,8 +19,8 @@ # (gives unicode object in PY2) line = line.decode('utf8') if 'testedwith' in line: - if "'" in line: - return min(line.split("'")[1].split()) + if "'" in line: + return min(line.split("'")[1].split()) py_modules = [ 'hgext3rd.evolve.serveronly',