Skip to content

Commit

Permalink
drop deprecated sparqlstore.localName
Browse files Browse the repository at this point in the history
  • Loading branch information
joernhees committed Aug 27, 2015
1 parent 28dd93a commit 2e5b232
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions rdflib/plugins/stores/sparqlstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,19 +154,6 @@ def __locproc(values_):
yield __locproc(values), vars_


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


def localName(qname):
warnings.warn(
"Call to deprecated unused function localName, will be dropped soon.",
category=DeprecationWarning,
)
return _local_name(qname)


class SPARQLStore(NSSPARQLWrapper, Store):
"""
An RDFLib store around a SPARQL endpoint
Expand Down

0 comments on commit 2e5b232

Please sign in to comment.