diff options
author | t0b3 <thomas.bettler@gmail.com> | 2020-05-08 19:54:27 +0200 |
---|---|---|
committer | t0b3 <thomas.bettler@gmail.com> | 2020-06-22 20:34:26 +0200 |
commit | f69df4252e3a8466c025e34585dac37c7691b47c (patch) | |
tree | a8b9546b5e895d9d6d011f39e804d09921f50681 /rdflib/tools/csv2rdf.py | |
parent | 228a8db9b6871f069167b9075eabe9c7027cba0e (diff) | |
download | rdflib-f69df4252e3a8466c025e34585dac37c7691b47c.tar.gz |
2to3 whole sourcebase
Signed-off-by: t0b3 <thomas.bettler@gmail.com>
Diffstat (limited to 'rdflib/tools/csv2rdf.py')
-rw-r--r-- | rdflib/tools/csv2rdf.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rdflib/tools/csv2rdf.py b/rdflib/tools/csv2rdf.py index 812ffadc..664f262e 100644 --- a/rdflib/tools/csv2rdf.py +++ b/rdflib/tools/csv2rdf.py @@ -5,8 +5,6 @@ try: ``csv2rdf --help`` """ -from __future__ import print_function - import sys import re import csv @@ -346,7 +344,7 @@ class CSV2RDF(object): next(csvreader) # read header line - header_labels = list(csvreader.next()) + header_labels = list(next(csvreader)) headers = dict(enumerate([self.PROPBASE[toProperty(x)] for x in header_labels])) # override header properties if some are given for k, v in self.PROPS.items(): |