mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 01:53:59 +00:00
logging: Pass more format arguments to logging.
Commit bdc365d0fe (#14852) missed this
because of https://github.com/returntocorp/semgrep/issues/831.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
824d97987b
commit
333f7d16c9
@@ -38,7 +38,7 @@ try:
|
||||
# the Zulip user, and then unpack it from that directory, so that
|
||||
# we can unpack using the Zulip user even if the original path was
|
||||
# not readable by the Zulip user.
|
||||
logging.info("Archiving the tarball under %s" % (TARBALL_ARCHIVE_PATH,))
|
||||
logging.info("Archiving the tarball under %s", TARBALL_ARCHIVE_PATH)
|
||||
os.makedirs(TARBALL_ARCHIVE_PATH, exist_ok=True)
|
||||
archived_tarball_path = os.path.join(TARBALL_ARCHIVE_PATH, os.path.basename(tarball_path))
|
||||
shutil.copy(tarball_path, archived_tarball_path)
|
||||
|
||||
Reference in New Issue
Block a user