Merge pull request #1912 from SUPERustam/v1.x

Minor update, PEP8 format and f-string instead of format method
pull/1916/head
Gabi Melman 4 years ago committed by GitHub
commit 51fadf6b7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,4 +14,4 @@ with open(config_h, 'r') as fp:
if m: if m:
data[m.group(1)] = int(m.group(2)) data[m.group(1)] = int(m.group(2))
print('{}.{}.{}'.format(data['MAJOR'], data['MINOR'], data['PATCH'])) print(f"{data['MAJOR']}.{data['MINOR']}.{data['PATCH']}")

Loading…
Cancel
Save