Prechádzať zdrojové kódy

fixup warning message

Antoine Beaupré 9 rokov pred
rodič
commit
07e7f2dcad
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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: