On Sat, Jan 26, 2013 at 4:45 AM, Pete Wyckoff wrote:
> draf...@gmail.com wrote on Fri, 25 Jan 2013 12:44 -0800:
>> Python 2.5 and older do not accept None as the first argument to
>> translate() and complain with:
>>
>>TypeError: expected a character buffer object
>>
>> Satisfy this older pyth
draf...@gmail.com wrote on Fri, 25 Jan 2013 12:44 -0800:
> Python 2.5 and older do not accept None as the first argument to
> translate() and complain with:
>
>TypeError: expected a character buffer object
>
> Satisfy this older python by calling maketrans() to generate an empty
> translation
Python 2.5 and older do not accept None as the first argument to
translate() and complain with:
TypeError: expected a character buffer object
Satisfy this older python by calling maketrans() to generate an empty
translation table and supplying that to translate().
This allows git-p4 to be use
3 matches
Mail list logo