Mercurial > code > home > repos > light9
changeset 772:c0977217a7da
attempt to receive a brand new submaster. doesn't work, this fix doesn't address the problem. But you can drag it in twice as a workaround
Ignore-this: feed1c3e69d0a50412fb6139e8c04ab0
author | drewp@bigasterisk.com |
---|---|
date | Sat, 16 Jun 2012 04:32:49 +0000 |
parents | c8d1a7bf5c6c |
children | 24db623e2097 |
files | bin/curvecalc |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/curvecalc Sat Jun 16 04:32:44 2012 +0000 +++ b/bin/curvecalc Sat Jun 16 04:32:49 2012 +0000 @@ -96,6 +96,12 @@ uri = URIRef(selection.data.strip()) subName = self.graph.label(uri) + + if not list(self.graph.subjects(L9['sub'], uri)): + # might be a new one just created in KC + print "didn't find %r, reloading subs" % uri + self.onReloadSubs() + try: self.makeSubterm(subName, withCurve=True) except SubtermExists: