mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 06:21:15 +02:00
refactor: convert remaining percent formatting in log messages
This commit is contained in:
4 files changed
+6
-6
No files matched your search
@@ -72,7 +72,7 @@ def parse_version(version):
|
||||
info = int(info)
|
||||
# We pad with zero to compare only on string
|
||||
# This avoid issue when comparing version with different length
|
||||
version.append("%06d" % (info,))
|
||||
version.append(f"{info:06d}")
|
||||
except ValueError:
|
||||
# Force to a version with three number
|
||||
if len(version) == 1:
|
||||
|
||||
Reference in new issue
Block a user