aboutsummaryrefslogtreecommitdiffstats
path: root/servo/lib
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-06-06 14:34:24 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-06-06 14:34:24 +0300
commit83bc616db700406c8254ae036ef5f41796e80a79 (patch)
tree146a8e8bcf1bfab7d771c3a26468190307e1e95b /servo/lib
parentbc273f17cd8e08c6944660b8633ba41763f292b2 (diff)
downloadServo-83bc616db700406c8254ae036ef5f41796e80a79.tar.gz
Servo-83bc616db700406c8254ae036ef5f41796e80a79.tar.bz2
Servo-83bc616db700406c8254ae036ef5f41796e80a79.zip
Python 3 fixes
Diffstat (limited to 'servo/lib')
-rw-r--r--servo/lib/ucsv.py2
1 files changed, 1 insertions, 1 deletions
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):