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.

Author linuxelf
Recipients linuxelf
Date 2009-04-24.17:36:33
SpamBayes Score 0.0005431291
Marked as misclassified No
Message-id <1240594595.2.0.684236338423.issue5832@psf.upfronthosting.co.za>
In-reply-to
Content
I just ran into this using os.path.walk.  I noticed it wouldn't find
files inside a particular directory.  In debugging, I found that the
name of the directory was 'BBDO Atlanta '  os.path.walk would find the
directory, but wouldn't enter it.  I added a check inside my CallBack
function:

if file[-1:] == ' ' and os.path.isdir(file):
os.path.walk(file,CallBack,None)

and the script now traverses into the directory.
History
Date User Action Args
2009-04-24 17:36:35linuxelfsetrecipients: + linuxelf
2009-04-24 17:36:35linuxelfsetmessageid: <1240594595.2.0.684236338423.issue5832@psf.upfronthosting.co.za>
2009-04-24 17:36:33linuxelflinkissue5832 messages
2009-04-24 17:36:33linuxelfcreate