[Python-modules-commits] [python-pyld] 146/276: Style fix.

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 8 23:48:03 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 6ac4bca6c0a9ae5a026c74bcc621a8045f793623
Author: Dave Longley <dlongley at digitalbazaar.com>
Date:   Tue Jul 16 15:17:05 2013 -0400

    Style fix.
---
 lib/pyld/jsonld.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/pyld/jsonld.py b/lib/pyld/jsonld.py
index 94346c2..47c970c 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -498,11 +498,11 @@ class JsonLdProcessor:
             'remoteContext': {'@context': remote_doc['contextUrl']}
         }
         if 'expandContext' in options:
-            expandContext = options['expandContext']
-            if _is_object(expandContext) and '@context' in expandContext:
-                input_['expandContext'] = copy.deepcopy(expandContext)
+            expand_context = options['expandContext']
+            if _is_object(expand_context) and '@context' in expand_context:
+                input_['expandContext'] = copy.deepcopy(expand_context)
             else:
-                input_['expandContext'] = {'@context': expandContext}
+                input_['expandContext'] = {'@context': expand_context}
 
         try:
             self._retrieve_context_urls(

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