[issue14145] string.rfind() returns AttributeError: 'list' object has no attribute 'rfind'

2012-02-28 Thread Griffin Smith
Griffin Smith added the comment: Actually, I did some diagnosis and it would appear it was actually an inappropriate call - I was assuming os.path.walk returned a tuple containing a list of files instead of a tuple containing a list of lists of files. Sorry about that

[issue14145] string.rfind() returns AttributeError: 'list' object has no attribute 'rfind'

2012-02-27 Thread Griffin Smith
Griffin Smith added the comment: Sorry about the lack of clarity there. I'm calling os.path.splitext("C:\blah.ext") and trackback is returning an AttributeError: 'list' object has no attribute 'rfind' from within the definition for splitext in the NTPat

[issue14145] string.rfind() returns AttributeError: 'list' object has no attribute 'rfind'

2012-02-27 Thread Griffin Smith
New submission from Griffin Smith : This occurs even when calling methods in modules (such as os.path.splitext), so I know it's not happening due to an error on my part Win7 SP1 -- components: Windows messages: 154529 nosy: glittershark priority: normal severity: normal status: