[ python-Bugs-1457411 ] byext.py errors
SourceForge.net
noreply at sourceforge.net
Fri Mar 24 06:42:07 CET 2006
Bugs item #1457411, was opened at 2006-03-23 15:45
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1457411&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: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeff Lowery (jlowery2006)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: byext.py errors
Initial Comment:
statdir() method make reference to undefined 'ext'
variable:
def statdir(self, dir):
self.addstats("<dir>", "dirs", 1)
try:
names = os.listdir(dir)
except os.error, err:
sys.stderr.write("Can't list %s: %s\n" %
(file, err))
self.addstats(ext, "unlistable", 1)
return
names.sort()
...
also, a number of the error strings throughout the
program refer to 'file', which I believe is the built-
in (shouldn't it be the name of a parameter?).
This file is in the Tools/Scripts directory of the
Python install folder.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-03-23 21:42
Message:
Logged In: YES
user_id=33168
Thanks!
Committed revision 43269.
Committed revision 43270. (2.4)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1457411&group_id=5470
More information about the Python-bugs-list
mailing list