diff options
author | Gunnar Aastrand Grimnes <gromgull@gmail.com> | 2018-10-30 14:21:41 +0100 |
---|---|---|
committer | Gunnar Aastrand Grimnes <gromgull@gmail.com> | 2018-10-30 15:38:42 +0100 |
commit | 785e37932e71a02ab8c31257694060f550ff72a6 (patch) | |
tree | 43bc2158ce60168cebe15a0f88ea2aeddb30520d /rdflib/parser.py | |
parent | fac8b840627013e1b9bbe76bd75c8e9d5d7b4cdf (diff) | |
download | rdflib-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 'rdflib/parser.py')
-rw-r--r-- | rdflib/parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rdflib/parser.py b/rdflib/parser.py index 5864820a..9dc60f65 100644 --- a/rdflib/parser.py +++ b/rdflib/parser.py @@ -117,7 +117,7 @@ class URLInputSource(InputSource): self.content_type = self.content_type.split(";", 1)[0] self.setByteStream(file) # TODO: self.setEncoding(encoding) - self.response_info = file.info() # a mimetools.Message instance + self.response_info = file.info() # a mimetools.Message instance def __repr__(self): return self.url @@ -191,7 +191,7 @@ def create_input_source(source=None, publicID=None, input_source = URLInputSource(absolute_location, format) auto_close = True # publicID = publicID or absolute_location # Further to fix - # for issue 130 + # for issue 130 if file is not None: input_source = FileInputSource(file) |