forked from mirrors/linphone-iphone
Makes lpconfig_items.py to support both python 2 and 3.
(cherry picked from commit 8a946552f6)
This commit is contained in:
parent
e70294f3f3
commit
a1f7d1b562
1 changed files with 4 additions and 4 deletions
8
tools/lpconfig_items.py
Normal file → Executable file
8
tools/lpconfig_items.py
Normal file → Executable file
|
|
@ -44,8 +44,8 @@ def parse_lpconfig_line(line):
|
|||
|
||||
for files in get_files_in_coreapi_directory():
|
||||
parse_file(files)
|
||||
for section, items in items.iteritems():
|
||||
print '[' + section + ']'
|
||||
for section, items in items.items():
|
||||
print('[' + section + ']')
|
||||
for item in items:
|
||||
print item[1] + '=' + item[2]
|
||||
print ''
|
||||
print(item[1] + '=' + item[2])
|
||||
print('')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue