commit | 108f497359fd73a664c223509baf1313970bad7e | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Wed Mar 23 19:32:14 2016 +0100 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Wed Mar 23 19:32:14 2016 +0100 |
tree | 5e31bea64215a1388dc0722996972b6350b506f9 | |
parent | fa75dd4b83e817364b4959c7f0dd1fa0000445c2 [diff] |
Addressed a race condition in model policies
diff --git a/xos/synchronizers/model_policy.py b/xos/synchronizers/model_policy.py index b8fdd5d..d0bbbb1 100644 --- a/xos/synchronizers/model_policy.py +++ b/xos/synchronizers/model_policy.py
@@ -52,7 +52,7 @@ return -@atomic +#@atomic def execute_model_policy(instance, deleted): # Automatic dirtying if (instance in bad_instances):