chiark / gitweb /
fdroid: python2 doesn't like print()
authorDaniel Martí <mvdan@mvdan.cc>
Sat, 9 Jan 2016 12:24:13 +0000 (13:24 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Sat, 9 Jan 2016 12:24:13 +0000 (13:24 +0100)
It just prints "()", which is stupid.

fdroid

diff --git a/fdroid b/fdroid
index e112690f89876d8f1727280fa1043b1a0fb0ec4c..0774aeb85e49957aa895713612719e318e5a7f67 100755 (executable)
--- a/fdroid
+++ b/fdroid
@@ -51,7 +51,7 @@ def print_help():
     print("Valid commands are:")
     for cmd, summary in commands.items():
         print("   " + cmd + ' ' * (15 - len(cmd)) + summary)
-    print()
+    print("")
 
 
 def main():