Mercurial > code > home > repos > homeauto
diff service/reasoning/reasoning.py @ 1119:98aad873874d
fix oneshot
Ignore-this: cd3f3076031766d8f82c6130d1b31e05
darcs-hash:13b69fb6a76f059bf0eaa7ccdf9f4c96588c86f6
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 12 Oct 2016 18:36:49 -0700 |
parents | 8caf62030955 |
children | 8db492695a51 |
line wrap: on
line diff
--- a/service/reasoning/reasoning.py Sun Oct 09 13:58:51 2016 -0700 +++ b/service/reasoning/reasoning.py Wed Oct 12 18:36:49 2016 -0700 @@ -93,10 +93,7 @@ statements are already in inputGraph.getGraph(). """ log.info("----------------------") - log.info("graphChanged:") - if oneShot: - for s in oneShotGraph: - log.debug(" oneshot stmt %r", s) + log.info("graphChanged (oneShot=%s):", oneShot) t1 = time.time() oldInferred = self.inferred try: