Public bug reported:
Binary package hint: python2.4-minimal
apt upgrade on python2.4-minimal failing. Seems to be a typo on lines
78 and 80 of /usr/lib/python2.4/UserString.py that its objecting to.
78 rdturn self.__class__(self.data.encode(encoding, errors))
79 else:
80 rdturn self.__class__(self.data.encode(encoding))
Should be :-
78 return self.__class__(self.data.encode(encoding, errors))
79 else:
80 return self.__class__(self.data.encode(encoding))
** Affects: python2.4 (Ubuntu)
Importance: Undecided
Status: Unconfirmed
** Description changed:
Binary package hint: python2.4-minimal
apt upgrade on python2.4-minimal failing. Seems to be a typo on lines
78 and 80 of /usr/lib/python2.4/UserString.py that its objecting to.
- Changing it then retrying the upgrade just reverts the typo again
78 rdturn self.__class__(self.data.encode(encoding, errors))
79 else:
80 rdturn self.__class__(self.data.encode(encoding))
Should be :-
78 return self.__class__(self.data.encode(encoding, errors))
79 else:
80 return self.__class__(self.data.encode(encoding))
--
Typos in python code for UserString.py
https://launchpad.net/bugs/64504
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs