Henrique Baggio added the comment:
@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.TX
Henrique Baggio added the comment:
I create a patch using the os.path.splitext function.
--
Added file: http://bugs.python.org/file13846/msilib.__init__.patch
___
Python tracker
<http://bugs.python.org/issue1
Henrique Baggio added the comment:
Sorry, I don't know how create a patch, but just change the line with
parts = file.split(".") to parts = os.path.splitext(file)
and the problem is fixed.
--
nosy: +hnrqbaggio
___
Python