From: Sapan Bhatia Date: Tue, 29 Apr 2014 04:42:40 +0000 (-0400) Subject: Updated backend status during call X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ea53ad37d13f45ed98cbf9270080d60124bde576;p=plstackapi.git Updated backend status during call --- diff --git a/planetstack/observer/syncstep.py b/planetstack/observer/syncstep.py index 9c6975f..739e598 100644 --- a/planetstack/observer/syncstep.py +++ b/planetstack/observer/syncstep.py @@ -62,6 +62,7 @@ class SyncStep: self.check_dependencies(o,f) # Raises exception if failed self.sync_record(o) o.enacted = datetime.now() # Is this the same timezone? XXX + o.backend_status = "OK") o.save(update_fields=['enacted']) except Exception,e: try: