From 83bc616db700406c8254ae036ef5f41796e80a79 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sun, 6 Jun 2021 14:34:24 +0300 Subject: Python 3 fixes --- servo/lib/ucsv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servo/lib/ucsv.py') diff --git a/servo/lib/ucsv.py b/servo/lib/ucsv.py index accf7d1..8213b74 100644 --- a/servo/lib/ucsv.py +++ b/servo/lib/ucsv.py @@ -18,7 +18,7 @@ class UnicodeCsvReader(object): # read and split the csv row into fields row = self.csv_reader.next() # now decode - return [unicode(cell, self.encoding) for cell in row] + return [str(cell, self.encoding) for cell in row] @property def line_num(self): -- cgit v1.2.3