Mercurial > code > home > repos > homeauto
diff service/mqtt_to_rdf/inference.py @ 1677:aa35ae7a1acc
add new bug test (no fix yet)
author | drewp@bigasterisk.com |
---|---|
date | Wed, 22 Sep 2021 01:22:05 -0700 |
parents | 4a15b4cd4600 |
children | 2883da14847c |
line wrap: on
line diff
--- a/service/mqtt_to_rdf/inference.py Wed Sep 22 01:07:37 2021 -0700 +++ b/service/mqtt_to_rdf/inference.py Wed Sep 22 01:22:05 2021 -0700 @@ -473,6 +473,6 @@ log.debug('') log.debug(f'{INDENT*2}-applying rule {i}') log.debug(f'{INDENT*3} rule def lhs:') - for stmt in sorted(r.lhsGraph, reverse=True): + for stmt in sorted(r.lhs.graph.allChunks()): log.debug(f'{INDENT*4} {stmt}') log.debug(f'{INDENT*3} rule def rhs: {graphDump(r.rhsGraph)}')