Unverified Commit 51fadf6b authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Merge pull request #1912 from SUPERustam/v1.x

Minor update, PEP8 format and f-string instead of format method
parents 2a6a8aa0 5e35c2b6
...@@ -14,4 +14,4 @@ with open(config_h, 'r') as fp: ...@@ -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']}")
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