Message121953
ksh is a text/plain to, all this extension are text/plain:
'.ksh', '.pl', '.bat', '.h', '.c', '.txt', '.asc', '.text', '.pot', '.brf'.
The problem is: the code return the first of list:
return extensions[0]
So, I add one boolean parameter in method guess_extension called all_exts. Putting True in this parameter the method returns a tuple with all possible extensions.
I hope helped |
|
Date |
User |
Action |
Args |
2010-11-21 17:09:21 | elesbom | set | recipients:
+ elesbom, jlgijsbers, josiahcarlson, kxroberto, ajaksu2, eric.araujo, lambacck, skrah, ptarjan, BreamoreBoy |
2010-11-21 17:09:20 | elesbom | set | messageid: <1290359360.95.0.773050118761.issue1043134@psf.upfronthosting.co.za> |
2010-11-21 17:09:17 | elesbom | link | issue1043134 messages |
2010-11-21 17:09:17 | elesbom | create | |
|