git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4473954
)
Updated backend status during call
author
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 29 Apr 2014 04:42:40 +0000
(
00:42
-0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 29 Apr 2014 04:42:40 +0000
(
00:42
-0400)
planetstack/observer/syncstep.py
patch
|
blob
|
history
diff --git
a/planetstack/observer/syncstep.py
b/planetstack/observer/syncstep.py
index
d3a0775
..
bd9ebf1
100644
(file)
--- 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: