# HG changeset patch # User Bernhard Urban # Date 1403867874 -7200 # Node ID 55f36953012287fc668fab0c5471673b8c717d21 # Parent a0f66e9174e7e9ef827da9ae2ed53b2fcf8d191d mx archive: print warning only in verbose mode diff -r a0f66e9174e7 -r 55f369530122 mxtool/mx.py --- 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