aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-02-27 14:26:45 +0000
committerMichael Wood <michael.g.wood@intel.com>2015-02-27 14:26:45 +0000
commitf37cfd5021d1ad5e62a0ead9a6ed5f46d21cb6f1 (patch)
tree3825421d8ee2932e1cc84a4d5c9ec8b3d772eb1e
parent14f1e5a4eb5326fced9893cefa17cac59c1a112c (diff)
downloaderror-report-web-f37cfd5021d1ad5e62a0ead9a6ed5f46d21cb6f1.tar.gz
error-report-web-f37cfd5021d1ad5e62a0ead9a6ed5f46d21cb6f1.tar.bz2
error-report-web-f37cfd5021d1ad5e62a0ead9a6ed5f46d21cb6f1.zip
parser: Add back accidentally removed DATE setter
At some point this should be moved to the model definition Signed-off-by: Michael Wood <michael.g.wood@intel.com>
-rw-r--r--Post/parser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Post/parser.py b/Post/parser.py
index 333985f..900148a 100644
--- a/Post/parser.py
+++ b/Post/parser.py
@@ -56,6 +56,7 @@ class Parser:
g = re.match(r'(.*): (.*)', jsondata['branch_commit'])
b.BRANCH = str(g.group(1))
b.COMMIT = str(g.group(2))
+ b.DATE = timezone.now()
b.save()
failures = jsondata['failures']