[Bug 1013171] Re: Many package hooks not ported to python3
Martin Pitt
martin.pitt at ubuntu.com
Mon Jun 18 12:57:41 UTC 2012
Seconded what Dmitrijs says. Instead of
- print >> sys.stderr, 'ERROR (dkms apport): both -m and -v are required'
+ print('ERROR (dkms apport): both -m and -v are required', file=sys.stderr)
use something like
sys.stderr.write('ERROR... required\n')
(i. e. add the explicit \n at the end). This will work with both Python
2 and 3. Alternatively, use
from __future__ import print_statement.
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1013171
Title:
Many package hooks not ported to python3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1013171/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list