changeset 16262:55f369530122

mx archive: print warning only in verbose mode
author Bernhard Urban <bernhard.urban@jku.at>
date Fri, 27 Jun 2014 13:17:54 +0200
parents a0f66e9174e7
children dc26b91db5a8
files mxtool/mx.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Fri Jun 27 13:13:24 2014 +0200
+++ b/mxtool/mx.py	Fri Jun 27 13:17:54 2014 +0200
@@ -103,7 +103,7 @@
                 isOverwrite = False
                 if existingSource and existingSource != source:
                     if arcname[-1] != os.path.sep:
-                        log('warning: ' + self.path + ': avoid overwrite of ' + arcname + '\n  new: ' + source + '\n  old: ' + existingSource)
+                        logv('warning: ' + self.path + ': avoid overwrite of ' + arcname + '\n  new: ' + source + '\n  old: ' + existingSource)
                     isOverwrite = True
                 zf._provenance[arcname] = source
                 return isOverwrite