瀏覽代碼

fixup warning message

Antoine Beaupré 9 年之前
父節點
當前提交
07e7f2dcad
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      borg/upgrader.py

+ 1 - 1
borg/upgrader.py

@@ -174,7 +174,7 @@ class AtticRepositoryUpgrader(Repository):
             if os.path.exists(attic_file):
                 borg_file = os.path.join(borg_cache_dir, path)
                 if os.path.exists(borg_file):
-                    logger.warning("borg cache file already exists in %s, not copying from Attic" % (borg_file))
+                    logger.warning("borg cache file already exists in %s, not copying from Attic", borg_file)
                 else:
                     logger.info("copying attic cache file from %s to %s" % (attic_file, borg_file))
                     if not dryrun: