~ubuntu-branches/debian/experimental/apport/experimental

« back to all changes in this revision

Viewing changes to apport/ui.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2011-08-25 16:31:37 UTC
  • Revision ID: package-import@ubuntu.com-20110825163137-6b0r2549vkqnlnx1
Tags: upstream-1.22
ImportĀ upstreamĀ versionĀ 1.22

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# option) any later version.  See http://www.gnu.org/copyleft/gpl.html for
14
14
# the full text of the license.
15
15
 
16
 
__version__ = '1.21.3'
 
16
__version__ = '1.22'
17
17
 
18
18
import glob, sys, os.path, optparse, time, traceback, locale, gettext, re
19
19
import pwd, errno, urllib, zlib
609
609
        '''
610
610
        optparser = optparse.OptionParser(_('%prog <report number>'))
611
611
        optparser.add_option('-p', '--package',
612
 
            help=_('Specify package name.)'))
 
612
            help=_('Specify package name.'))
613
613
        optparser.add_option('--tag', action='append', default=[],
614
614
            help=_('Add an extra tag to the report. Can be specified multiple times.'))
615
615
        (self.options, self.args) = optparser.parse_args()
646
646
            dest='filebug', default=False,
647
647
            help=_('Start in bug filing mode. Requires --package and an optional --pid, or just a --pid. If neither is given, display a list of known symptoms. (Implied if a single argument is given.)'))
648
648
        optparser.add_option('-w', '--window', action='store_true', default=False,
649
 
                help=_('Click a window as a target for filing a problem report.'))
 
649
            help=_('Click a window as a target for filing a problem report.'))
650
650
        optparser.add_option('-u', '--update-bug', type='int', dest='update_report',
651
651
            help=_('Start in bug updating mode. Can take an optional --package.'))
652
652
        optparser.add_option('-s', '--symptom', metavar='SYMPTOM',