~smoser/ubuntu/quantal/apport/lp1018552

« back to all changes in this revision

Viewing changes to apport/ui.py

  • Committer: Package Import Robot
  • Author(s): Brian Murray
  • Date: 2012-08-21 10:23:35 UTC
  • Revision ID: package-import@ubuntu.com-20120821102335-2pm6g6z9i427xtdv
Tags: 2.4-0ubuntu9
apport/ui.py: revert the change to when the .upload file is created as the
fix was incomplete and requires more investigation

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
            response = self.ui_present_report_details(allowed_to_report)
243
243
            if response['report'] or response['examine']:
244
244
                try:
245
 
                    if 'Dependencies' not in self.report and response['report']:
246
 
                        self.collect_info(on_finished=apport.fileutils.mark_report_upload(report_file))
247
 
                    elif 'Dependencies' not in self.report:
 
245
                    if 'Dependencies' not in self.report:
248
246
                        self.collect_info()
249
247
                except (IOError, zlib.error) as e:
250
248
                    # can happen with broken core dumps
282
280
            if not response['report']:
283
281
                return
284
282
 
 
283
            apport.fileutils.mark_report_upload(report_file)
285
284
            # We check for duplicates and unreportable crashes here, rather
286
285
            # than before we show the dialog, as we want to submit these to the
287
286
            # crash database, but not Launchpad.