[Patches] [ python-Patches-1546372 ] pybench.py error reporting broken for bad -s filename

SourceForge.net noreply at sourceforge.net
Fri Aug 25 12:30:31 CEST 2006


Patches item #1546372, was opened at 2006-08-25 01:19
Message generated for change (Settings changed) made by gbrandl
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: M.-A. Lemburg (lemburg)
Summary: pybench.py error reporting broken for bad -s filename

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