[Python-modules-commits] [python-pyld] 210/276: Declare global.

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 8 23:48:12 UTC 2014


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

debacle pushed a commit to branch master
in repository python-pyld.

commit 89089575e45d85d4ceefcafbb4b9f9405ffdcf85
Author: Dave Longley <dlongley at digitalbazaar.com>
Date:   Wed Sep 25 16:20:23 2013 -0400

    Declare global.
---
 lib/pyld/jsonld.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/pyld/jsonld.py b/lib/pyld/jsonld.py
index 181ed45..4558acf 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -231,6 +231,7 @@ def set_document_loader(load_document):
 
     :param load_document(url): the document loader to use.
     """
+    global _default_document_loader
     _default_document_loader = load_document
 
 

-- 
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