Commits

Anonymous committed 21fe725

change internal format of pairtree to canonical xml

  • Participants
  • Parent commits e301997
  • Tags 023

Comments (0)

Files changed (2)

ordf/handler/pt.py

             identifier = get_identifier(key)
         g = Graph(identifier=URIRef(identifier))
         try:
-            g.parse(fsobj.get_bytestream("graph.n3", streamable=True), format="n3")
+            g.parse(fsobj.get_bytestream("graph.rdf", streamable=True), format="xml")
         except PartNotFoundException:
             pass
         return g
         k = uuid(key).lstrip(self.store.uri_base)
         fsobj = self.store.get_object(k)
         fsobj.add_bytestream("identifier.txt", g.identifier)
-        fsobj.add_bytestream("graph.n3", g.serialize(format="n3"))
+        fsobj.add_bytestream("graph.rdf", g.serialize(format="xml"))
 
     def __delitem__(self, key):
         k = uuid(key).lstrip(self.store.uri_base)
 from setuptools import setup, find_packages
 import sys, os
 
-version = '0.22'
+version = '0.23'
 
 try:
     from mercurial import ui, hg, error