chiark / gitweb /
rewritemeta: only print file type if its changing
authorHans-Christoph Steiner <hans@eds.org>
Sat, 15 Jul 2017 21:42:29 +0000 (23:42 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 19 Jul 2017 13:07:50 +0000 (15:07 +0200)
fdroidserver/rewritemeta.py

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