OnroerendErfgoed / skosprovider_rdf

Skosprovider implementation backed by RDF
http://skosprovider-rdf.readthedocs.org
MIT License
2 stars 4 forks source link

python stuck/freeze with creating a RDFProvider object #45

Closed JoelCa closed 6 years ago

JoelCa commented 6 years ago

The lines 136-137 in _skosproviderrdf/providers.py are necessary?

for stmt in self.graph:
  print(stmt)

When I create an object with RDFProvider class, from a Graph (loaded with a 7mb rdf file) my computer stuck. Python overload the memory with infinities prints from thats lines.

koenedaele commented 6 years ago

No idea why it's there. Looks like old debugging code.

Feel free to send a PR removing it. Thx for noticing!