Commit e58f073d authored by Jelmer Vernooij's avatar Jelmer Vernooij

Fix byteness.

parent 1f3f41c7
Pipeline #69509 passed with stages
in 8 minutes and 52 seconds
......@@ -16,7 +16,7 @@ wf = WatchFile()
if os.path.exists('setup.py'):
lines = subprocess.check_output(
['python3', 'setup.py', '--name', '--version']).splitlines()
lines = [line for line in lines if not line.startswith('W: ')]
lines = [line for line in lines if not line.startswith(b'W: ')]
(project, version) = lines
# TODO(jelmer): verify that <name>-<version> appears on
# https://pypi.python.org/simple/<name>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment