commit | 8863b08e6ac4b6a6c1abc8ac1283077704788a0f | [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 | c87cf7dc60daa17ffd9bacbc9906033e0ad2d81b | |
parent | 01432420497004c99e085cb2c684badf8ce862f8 [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):