[Python-modules-commits] [python-pyld] 01/02: Use new-style classes.

Wolfgang Borgert debacle at moszumanska.debian.org
Tue Oct 13 22:56:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag 0.6.3
in repository python-pyld.

commit eca6f8d57bd8bee4ce59b203261217bf6cf1c279
Author: Dave Longley <dlongley at digitalbazaar.com>
Date:   Fri Oct 10 13:08:22 2014 -0400

    Use new-style classes.
---
 lib/pyld/jsonld.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/pyld/jsonld.py b/lib/pyld/jsonld.py
index ef96256..4a593f6 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -513,7 +513,7 @@ _default_document_loader = load_document
 _rdf_parsers = {}
 
 
-class JsonLdProcessor:
+class JsonLdProcessor(object):
     """
     A JSON-LD processor.
     """
@@ -4333,7 +4333,7 @@ class JsonLdError(Exception):
         return rval
 
 
-class UniqueNamer:
+class UniqueNamer(object):
     """
     A UniqueNamer issues unique names, keeping track of any previously issued
     names.
@@ -4674,7 +4674,7 @@ def _is_absolute_iri(v):
     return ':' in v
 
 
-class ActiveContextCache:
+class ActiveContextCache(object):
     """
     An ActiveContextCache caches active contexts so they can be reused without
     the overhead of recomputing them.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pyld.git



More information about the Python-modules-commits mailing list