~ubuntu-branches/ubuntu/precise/zeroinstall-injector/precise

« back to all changes in this revision

Viewing changes to zeroinstall/0launch-gui/bugs.py

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Leonard
  • Date: 2011-10-16 11:32:42 UTC
  • mfrom: (1.1.26 upstream)
  • Revision ID: james.westby@ubuntu.com-20111016113242-019nxef8gusev0r0
Tags: 1.4.1-1
* New upstream release.
* Changed "rpm" dependency from "recommends" to "suggests".

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Copyright (C) 2009, Thomas Leonard
2
2
# See http://0install.net/0compile.html
3
3
 
 
4
from __future__ import print_function
 
5
 
4
6
import sys, os
5
7
import gtk, pango
6
8
import dialog
236
238
                        stream.close()
237
239
                except:
238
240
                        # Write to stderr in the hope that it doesn't get lost
239
 
                        print >>sys.stderr, "Error sending bug report: %s\n\n%s" % (title, text)
 
241
                        print("Error sending bug report: %s\n\n%s" % (title, text), file=sys.stderr)
240
242
                        raise