[Python-modules-commits] [python-pyld] 80/276: Simplify if/else.
Wolfgang Borgert
debacle at moszumanska.debian.org
Wed Oct 8 23:47:55 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 1815d2b6cec8dfbe51f210e0b134b7ae797d88bd
Author: Dave Longley <dlongley at digitalbazaar.com>
Date: Sat May 5 15:10:49 2012 -0400
Simplify if/else.
---
lib/pyld/jsonld.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/pyld/jsonld.py b/lib/pyld/jsonld.py
index f339d41..edf18f8 100644
--- a/lib/pyld/jsonld.py
+++ b/lib/pyld/jsonld.py
@@ -3030,5 +3030,4 @@ def _get_adjacent_bnode_name(node, id):
"""
if node['interfaceName'] == 'BlankNode' and node['nominalValue'] != id:
return node['nominalValue']
- else:
- return None
+ return None
--
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