chiark / gitweb /
Don't import fdroid twice, allow -h without config
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 30 May 2013 14:36:39 +0000 (16:36 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 30 May 2013 14:36:39 +0000 (16:36 +0200)
fdroid

diff --git a/fdroid b/fdroid
index 202735a6be208e1e8d8e581963e2b6f102ffbff2..a14ea17b6504fc36f395f9ed5a938ad6f4ad3bfd 100755 (executable)
--- a/fdroid
+++ b/fdroid
@@ -18,7 +18,6 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 import sys
-import fdroidserver
 
 commands = [
         "build",
@@ -45,8 +44,7 @@ def main():
 
     command = sys.argv[1]
     if not command in commands:
-        print "Command '" + command + "' not recognised."
-        print ""
+        print "Command '" + command + "' not recognised.\n"
         print_help()
         sys.exit(1)