Use str.format()
This commit is contained in:
parent
d1fd32fd5b
commit
1cc86cc3c8
5 changed files with 26 additions and 26 deletions
2
setup.py
2
setup.py
|
|
@ -50,7 +50,7 @@ mo = re.search(VSRE, verstrline, re.M)
|
|||
if mo:
|
||||
verstr = mo.group(1)
|
||||
else:
|
||||
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
|
||||
raise RuntimeError("Unable to find version string in {}.".format(VERSIONFILE))
|
||||
|
||||
|
||||
setup(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue