Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sparqlstore drop deprecated methods and args #516

Merged
merged 4 commits into from
Jan 29, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
drop deprecated sparqlstore.TraverseSPARQLResultDOM
  • Loading branch information
joernhees committed Aug 27, 2015
commit 28dd93a91b4ca68851c2d663833742bdf2525b61
12 changes: 0 additions & 12 deletions rdflib/plugins/stores/sparqlstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def _node_to_sparql(node):
return node.n3()



def _traverse_sparql_result_dom(
doc, as_dictionary=False, node_from_result=_node_from_result):
"""
Expand Down Expand Up @@ -155,17 +154,6 @@ def __locproc(values_):
yield __locproc(values), vars_


def TraverseSPARQLResultDOM(doc, asDictionary=False):
warnings.warn(
"Call to deprecated function TraverseSPARQLResultDOM, use "
"_traverse_sparql_result_dom instead and update asDictionary arg to "
"as_dictionary.",
category=DeprecationWarning,
)
return _traverse_sparql_result_dom(
doc, as_dictionary=asDictionary, node_from_result=_node_from_result)


def _local_name(qname):
# wtf - elementtree cant do this for me
return qname[qname.index("}") + 1:]
Expand Down