Simple workaround would be something like this at the top of the file:
try:
any
except NameError:
# Taken from Python 2.5 built-in documentation
def any(iterable):
for element in iterable:
if element:
return True
return False
--
Apport uses 'any' even in python2.4, causing NameError
https://bugs.launchpad.net/bugs/104864
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs