aboutsummaryrefslogtreecommitdiffstats
path: root/servo/lib/ucsv.py
diff options
context:
space:
mode:
Diffstat (limited to 'servo/lib/ucsv.py')
-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):