This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: byext.py errors
Type: Stage:
Components: Demos and Tools Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: jlowery2006, nnorwitz
Priority: normal Keywords:

Created on 2006-03-23 23:45 by jlowery2006, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg27863 - (view) Author: Jeff Lowery (jlowery2006) Date: 2006-03-23 23:45
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.


msg27864 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-03-24 05:42
Logged In: YES 
user_id=33168

Thanks!

Committed revision 43269.
Committed revision 43270. (2.4)
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43082
2006-03-23 23:45:46jlowery2006create