rewritemeta: only print file type if its changing

This commit is contained in:
Hans-Christoph Steiner 2017-07-15 23:42:29 +02:00
parent 1f7f9d403c
commit 2ecaf6ef8d

View file

@ -77,8 +77,10 @@ def main():
if not options.to and ext not in supported: if not options.to and ext not in supported:
logging.info("Ignoring %s file at '%s'" % (ext, path)) logging.info("Ignoring %s file at '%s'" % (ext, path))
continue continue
else: elif options.to is not None:
logging.info("rewriting '%s' to %s" % (appid, options.to)) logging.info("rewriting '%s' to %s" % (appid, options.to))
else:
logging.info("rewriting '%s'" % (appid))
to_ext = ext to_ext = ext
if options.to is not None: if options.to is not None: