Comment 38 for bug 1013171

Revision history for this message
Martin Pitt (pitti) wrote :

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.