Test for the SRU reviewers: Edit /usr/bin/bzr, change the #! line to
/usr/bin/python2.4, and append an 'assert False' after it.

With current Feisty:

$ bzr
Traceback (most recent call last):
  File "/usr/bin/bzr", line 24, in ?
    assert False
AssertionError
Error in sys.excepthook:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/apport_python_hook.py", line 54, in 
apport_excepthook
    pr.add_proc_info()
  File "/var/lib/python-support/python2.4/apport/report.py", line 334, in 
add_proc_info
    self._check_interpreted()
  File "/var/lib/python-support/python2.4/apport/report.py", line 244, in 
_check_interpreted
    if not any([fnmatch.fnmatch(exebasename, i) for i in interpreters]):
NameError: global name 'any' is not defined

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/bzr", line 24, in ?
    assert False
AssertionError

With SRU package:

$ bzr
Traceback (most recent call last):
  File "/usr/bin/bzr", line 24, in ?
    assert False
AssertionError

-- 
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

Reply via email to