mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 14:51:13 +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
@@ -187,7 +187,7 @@ class ZipFile(zipfile.ZipFile):
|
||||
# check for valid comment length
|
||||
if len(comment) >= zipfile.ZIP_MAX_COMMENT:
|
||||
if self.debug:
|
||||
print("Archive comment is too long; truncating to %d bytes" % zipfile.ZIP_MAX_COMMENT)
|
||||
print(f"Archive comment is too long; truncating to {zipfile.ZIP_MAX_COMMENT} bytes")
|
||||
comment = comment[: zipfile.ZIP_MAX_COMMENT]
|
||||
self._comment = comment
|
||||
self._didModify = True
|
||||
|
||||
Reference in new issue
Block a user