Author hnrqbaggio
Recipients amaury.forgeotdarc, atuining, hnrqbaggio, loewis
Date 2009-05-04.18:16:23
SpamBayes Score 0.000709442
Marked as misclassified No
Message-id <1241460985.27.0.177406180807.issue1128@psf.upfronthosting.co.za>
In-reply-to
Content
@Amaury,

Sorry my mistake. I forgot splitext returns a tuple. =/

About your question, if the file name has less then 8 characters, then 
the function don't change it. Else, it return tha name with 8 chars.

e.g., make_short(foo.2.txt) returns FOO.2.TXT
and make_short(foo.longer_name.txt) returns FOO.LO~1.TXT
History
Date User Action Args
2009-05-04 18:16:25hnrqbaggiosetrecipients: + hnrqbaggio, loewis, amaury.forgeotdarc, atuining
2009-05-04 18:16:25hnrqbaggiosetmessageid: <1241460985.27.0.177406180807.issue1128@psf.upfronthosting.co.za>
2009-05-04 18:16:24hnrqbaggiolinkissue1128 messages
2009-05-04 18:16:23hnrqbaggiocreate