Changeset - 3d8a78daeed1
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 12 years ago 2013-06-05 23:34:32
drewp@bigasterisk.com
merge patch.py
Ignore-this: 51dba2acbd2e314a25d11d92b0f83bd1
1 file changed with 8 insertions and 8 deletions:
0 comments (0 inline, 0 general)
light9/rdfdb/patch.py
Show inline comments
 
@@ -62,19 +62,19 @@ class Patch(object):
 
    @property
 
    def addQuads(self):
 
        if self._addQuads is None:
 
            if self._addGraph is not None:
 
                self._addQuads = list(self._addGraph.quads(ALLSTMTS))
 
            else:
 
                raise
 
            if self._addGraph is None:
 
                return []
 
            self._addQuads = list(quadsWithContextUris(
 
                self._addGraph.quads(ALLSTMTS)))
 
        return self._addQuads
 

	
 
    @property
 
    def delQuads(self):
 
        if self._delQuads is None:
 
            if self._delGraph is not None:
 
                self._delQuads = list(self._delGraph.quads(ALLSTMTS))
 
            else:
 
                raise
 
            if self._delGraph is None:
 
                return []
 
            self._delQuads = list(quadsWithContextUris(
 
                self._delGraph.quads(ALLSTMTS)))
 
        return self._delQuads
 

	
 
    @property
0 comments (0 inline, 0 general)