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=e30f172b6298c8709207e5ea17feb95320fcac1e;p=plstackapi.git Updated backend status during call --- diff --git a/planetstack/observer/syncstep.py b/planetstack/observer/syncstep.py index d3a0775..bd9ebf1 100644 --- a/planetstack/observer/syncstep.py +++ b/planetstack/observer/syncstep.py @@ -61,6 +61,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: