示例#1
0
    def _start_logging(self):
        #before we open the logs, make sure any previous errors get zipped up
        ErrorReporting.check_previous_logs()
        #delete the old log files and open the new ones
        Globals.logger.start()
        ErrorReporting.create_marker_file()

        #submit a bugreport if there is one from the last run:  (only do it if this is a release copy)
        #(now that we know the user's name)
        if ErrorReporting.has_report_to_send():
            ErrorReporting.prompt_about_bug_report()
示例#2
0
 def _start_logging(self):
   #before we open the logs, make sure any previous errors get zipped up
   ErrorReporting.check_previous_logs()
   #delete the old log files and open the new ones
   Globals.logger.start()
   ErrorReporting.create_marker_file()
   
   #submit a bugreport if there is one from the last run:  (only do it if this is a release copy)
   #(now that we know the user's name)
   if ErrorReporting.has_report_to_send():
     ErrorReporting.prompt_about_bug_report()