server/sources/pyrorql.py
branchstable
changeset 7885 9454b7ef5ae4
parent 7884 35d2e2f4e10a
child 7895 0a967180794b
--- a/server/sources/pyrorql.py	Thu Sep 29 12:55:20 2011 +0200
+++ b/server/sources/pyrorql.py	Thu Sep 29 12:55:28 2011 +0200
@@ -289,6 +289,8 @@
                         repo.delete_info(session, entity, self.uri,
                                          scleanup=self.eid)
                 except Exception:
+                    if self.repo.config.mode == 'test':
+                        raise
                     self.exception('while updating %s with external id %s of source %s',
                                    etype, extid, self.uri)
                     continue