[Patches] [ python-Patches-1546372 ] broken error reporting when filename specified by -s missing

SourceForge.net noreply at sourceforge.net
Fri Aug 25 03:19:47 CEST 2006


Patches item #1546372, was opened at 2006-08-25 11:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1546372&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Demos and tools
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: lplatypus (ldeller)
Assigned to: Nobody/Anonymous (nobody)
Summary: broken error reporting when filename specified by -s missing

Initial Comment:
Traceback (most recent call last):
  File
"/usr/local/src/Python-2.5c1/Tools/pybench/pybench.py",
line 938, in ?
    PyBenchCmdline()
  File
"/usr/local/src/Python-2.5c1/Tools/pybench/CommandLine.py",
line 346, in __init__
    rc = self.main()
  File
"/usr/local/src/Python-2.5c1/Tools/pybench/pybench.py",
line 889, in main
    print '* Error opening/reading file %s: %s' % (
UnboundLocalError: local variable 'reason' referenced
before assignment


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1546372&group_id=5470


More information about the Patches mailing list