summaryrefslogtreecommitdiff
path: root/examples/sparql_query_example.py
diff options
context:
space:
mode:
authorGunnar Aastrand Grimnes <gromgull@gmail.com>2018-10-30 14:21:41 +0100
committerGunnar Aastrand Grimnes <gromgull@gmail.com>2018-10-30 15:38:42 +0100
commit785e37932e71a02ab8c31257694060f550ff72a6 (patch)
tree43bc2158ce60168cebe15a0f88ea2aeddb30520d /examples/sparql_query_example.py
parentfac8b840627013e1b9bbe76bd75c8e9d5d7b4cdf (diff)
downloadrdflib-785e37932e71a02ab8c31257694060f550ff72a6.tar.gz
a slightly opinionated autopep8 run
opinions is mainly: no to long lines, but not at any cost. notation3.py crashses autopep :D Also rdflib/__init__.py gets completely broken
Diffstat (limited to 'examples/sparql_query_example.py')
-rw-r--r--examples/sparql_query_example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sparql_query_example.py b/examples/sparql_query_example.py
index 1698c706..b1ffff5f 100644
--- a/examples/sparql_query_example.py
+++ b/examples/sparql_query_example.py
@@ -16,7 +16,7 @@ For variable names that are not valid python identifiers, dict access
import rdflib
-if __name__=='__main__':
+if __name__ == '__main__':
g = rdflib.Graph()
g.load("foaf.rdf")