summaryrefslogtreecommitdiffstats
path: root/src/retrace/retrace.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/retrace/retrace.py')
-rw-r--r--src/retrace/retrace.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/retrace/retrace.py b/src/retrace/retrace.py
index dfebcb62..28033619 100644
--- a/src/retrace/retrace.py
+++ b/src/retrace/retrace.py
@@ -60,6 +60,21 @@ CONFIG = {
"DBFile": "stats.db",
}
+STATUS_ANALYZE, STATUS_INIT, STATUS_BACKTRACE, STATUS_CLEANUP, \
+STATUS_STATS, STATUS_FINISHING, STATUS_SUCCESS, STATUS_FAIL = xrange(8)
+
+STATUS = [
+ "Analyzing crash data",
+ "Initializing virtual root",
+ "Generating backtrace",
+ "Cleaning up virtual root",
+ "Saving crash statistics",
+ "Finishing task",
+ "Retrace job finished successfully",
+ "Retrace job failed",
+]
+
+
def lock(lockfile):
try:
if not os.path.isfile(lockfile):