From 6d8263652b21f28f262e45d7546d7a0e0dac9b8c Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 17 Jul 2014 16:14:35 +0200 Subject: print "" -> print --- module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/remote/thriftbackend/thriftgen/pyload/Pyload-remote') diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote index 7ae6775bd..ddc1dd451 100755 --- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote +++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote @@ -18,9 +18,9 @@ import Pyload from ttypes import * if len(sys.argv) <= 1 or sys.argv[1] == '--help': - print '' + print print 'Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] function [arg1 [arg2...]]' - print '' + print print 'Functions:' print ' string getConfigValue(string category, string option, string section)' print ' void setConfigValue(string category, string option, string value, string section)' @@ -92,7 +92,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' CaptchaTask getCaptchaTask(bool exclusive)' print ' string getCaptchaTaskStatus(TaskID tid)' print ' void setCaptchaResult(TaskID tid, string result)' - print '' + print sys.exit(0) pp = pprint.PrettyPrinter(indent = 2) -- cgit v1.2.3