Skip to content

Commit

Permalink
py3 compatibility: string type fix for re
Browse files Browse the repository at this point in the history
This scripts will be invoked during ``setup.py``,
so we do not have ``six`` or ``future``.
  • Loading branch information
iblislin committed Nov 13, 2015
1 parent fd60481 commit e6e9396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/__init__.py
Expand Up @@ -55,7 +55,7 @@ def getVersion(init_file):
out = p.communicate()[0]

if (not p.returncode) and out:
v = VERSION_MATCH.search(out)
v = VERSION_MATCH.search(str(out))
if v:
return v.group(1)
except OSError:
Expand Down

0 comments on commit e6e9396

Please sign in to comment.