lambdamusic / Ontospy

Python library and command-line interface for inspecting and visualizing RDF models aka ontologies.
http://lambdamusic.github.io/Ontospy/
MIT License
219 stars 52 forks source link

Python3 Support and Nosetests #9

Closed T-002 closed 8 years ago

T-002 commented 8 years ago

print Statement

from __future__ import print_function print "Some Text" -> print("Some Text")

Exception Handling

except Exception, e: -> except Exception as e:

Import Statments

Added wrapper for some modules (urllib2, cPickle, ConfigParser) to create compatible imports for all versions.

Tests

It looks like my editor removed trailing white space characters...

T-002 commented 8 years ago

Updated the Pull Request to version 1.6.6.

lambdamusic commented 8 years ago

Thanks - merged