A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-January/042234.html below:

[Python-Dev] Hotshot

[Python-Dev] Hotshot [Python-Dev] HotshotNick Coghlan ncoghlan at iinet.net.au
Sat Jan 24 18:13:39 EST 2004
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 at email.com  | Mobile: +61 409 573 268


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4