Mercurial > code > home > repos > light9
changeset 1567:74229a30b418
fix addlPrefixes init in syncedgraph
Ignore-this: c66b11bec43c0e240800eb61c3bddba
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Thu, 25 May 2017 06:14:38 +0000 |
parents | 13e3cbe9071a |
children | 5da62d53e12f |
files | light9/rdfdb/syncedgraph.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/rdfdb/syncedgraph.py Thu May 25 06:12:55 2017 +0000 +++ b/light9/rdfdb/syncedgraph.py Thu May 25 06:14:38 2017 +0000 @@ -126,6 +126,8 @@ log.debug('patch is done %s', debugKey) def suggestPrefixes(self, prefixes): + if not hasattr(self, 'addlPrefixes'): + self.addlPrefixes = {} self.addlPrefixes.update(prefixes) def sendFailed(self, result):