Skip to content

Commit ba67f47

Browse files
committed
Use 'str' instead of 'unicode'
1 parent f886cbd commit ba67f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/ts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def load(self, el):
3939
def save(self, parent):
4040
loc = ET.SubElement(parent, 'location')
4141
loc.attrib['filename'] = self.filename
42-
loc.attrib['line'] = unicode(self.line)
42+
loc.attrib['line'] = str(self.line)
4343

4444
class Translation(object):
4545
def __init__(self, type = None, text = None):

0 commit comments

Comments
 (0)