[Python-modules-commits] [python-pyld] 253/276: Minor style fix.

Wolfgang Borgert debacle at moszumanska.debian.org
Wed Oct 8 23:48:17 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 6b417efd5b9922962ee87464c403a62e291c3a82
Author: Dave Longley <dlongley at digitalbazaar.com>
Date:   Fri Jun 13 10:37:16 2014 -0400

    Minor style fix.
---
 lib/pyld/jsonld.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pyld/jsonld.py b/lib/pyld/jsonld.py
index 2e63401..a2f23af 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -483,7 +483,7 @@ def remove_base(base, iri):
     path = posixpath.relpath(rel.path, base.path) if rel.path else ''
     path = posixpath.normpath(path)
     # workaround a relpath bug in Python 2.6 (http://bugs.python.org/issue5117)
-    if base.path == "/" and path.startswith("../"):
+    if base.path == '/' and path.startswith('../'):
         path = path[3:]
     if path == '.' and not rel.path.endswith('/') and not (
             rel.query or rel.fragment):

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