diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-07-24 11:10:48 +0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-08-11 17:00:28 +0200 |
commit | 0916ac8f9857974dc9ccf5eeda22d03f15a0eba3 (patch) | |
tree | 7d0f9cfdaa480e7bfff1246380b74b49a5846a98 /service/pixelated | |
parent | 46e891c2d827d267e2daef45140eedf5d7d1261b (diff) |
Fix: reordered code and added missing yield.
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/adapter/soledad/soledad_writer_mixin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/adapter/soledad/soledad_writer_mixin.py b/service/pixelated/adapter/soledad/soledad_writer_mixin.py index 2e45b7d1..d47e722a 100644 --- a/service/pixelated/adapter/soledad/soledad_writer_mixin.py +++ b/service/pixelated/adapter/soledad/soledad_writer_mixin.py @@ -28,7 +28,7 @@ class SoledadWriterMixin(SoledadDbFacadeMixin, object): return rct = rct[0] rct.content['rct'] = [] - self.put_doc(rct) + yield self.put_doc(rct) def save_mail(self, mail): return self.put_doc(mail.fdoc) |