
Jan. 24, 2004
11:13 p.m.
Skip Montanaro wrote:
Any objection if I check in the attached modification of your script as .../Tools/scripts/hotshotmain.py? It doesn't seem to work with the -p flag. Unfortunately, I have to take my son to hockey practice, so I can't debug that problem right now.
From modified script: ======================= profile = PROFILE for opt, arg in opts: if opt in ("-h", "--help"): usage() return 0 if opt in ("-p", "--profile"): profile = arg return 0 ======================== Should that second 'return 0' be there? Regards, Nick. -- Nick Coghlan | Brisbane, Australia Email: ncoghlan@email.com | Mobile: +61 409 573 268