changeset 849:8dc33b794924

syncedgraph logging text Ignore-this: 3363b8be808e98ba40fa65601f893a06
author drewp@bigasterisk.com
date Tue, 26 Mar 2013 16:51:48 +0000
parents dacbb278d91d
children f987eb9c3672
files light9/rdfdb/syncedgraph.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/light9/rdfdb/syncedgraph.py	Tue Mar 26 16:50:48 2013 +0000
+++ b/light9/rdfdb/syncedgraph.py	Tue Mar 26 16:51:48 2013 +0000
@@ -97,7 +97,7 @@
         # these could fail if we're out of sync. One approach:
         # Rerequest the full state from the server, try the patch
         # again after that, then give up.
-        log.info("%s add %s", [q[2] for q in p.delQuads], [q[2] for q in  p.addQuads])
+        log.info("del %s add %s", [q[2] for q in p.delQuads], [q[2] for q in  p.addQuads])
         patchQuads(self._graph, p.delQuads, p.addQuads, perfect=True)
         self.runDepsOnNewPatch(p)
         self._sender.sendPatch(p).addErrback(self.sendFailed)
@@ -125,7 +125,7 @@
             # receive its patch correctly. However, we're in a bad
             # state since some dependencies may not have rerun
             traceback.print_exc()
-            log.warn("some dependencies may not have rerun")
+            log.warn("some graph dependencies may not have completely run")
 
         if self.initiallySynced:
             self.initiallySynced.callback(None)