mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Makes metadoc.py to support Python 2
This commit is contained in:
parent
583002cfcd
commit
373391366c
1 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ class ChildrenList(list):
|
|||
return children
|
||||
|
||||
|
||||
class TreeNode:
|
||||
class TreeNode(object):
|
||||
def __init__(self):
|
||||
self.parent = None
|
||||
|
||||
|
|
@ -441,7 +441,7 @@ class Translator:
|
|||
for para in paragraphs:
|
||||
if para is not paragraphs[0]:
|
||||
lines.append('')
|
||||
lines += para.split(sep='\n')
|
||||
lines += para.split('\n')
|
||||
return lines
|
||||
|
||||
def _crop_text(self, inputLines, width):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue