On Tue, Mar 13, 2012 at 09:03:43PM +0100, Lluís Vilanova wrote: > @@ -514,8 +521,9 @@ def main(): > try: > opts, args = getopt.getopt(sys.argv[1:], "", long_options) > except getopt.GetoptError, err: > - # print help information and exit: > - print str(err) # will print something like "option -a not recognized" > + # print help information and exit > + # will print something like "option -a not recognized" > + error_write(str(err)+"\n")
Please use whitespace in expressions: error_write(str(err) + "\n")