diff --git a/tools/lpconfig_items.py b/tools/lpconfig_items.py old mode 100644 new mode 100755 index 6c002c5ab..435cf33d5 --- a/tools/lpconfig_items.py +++ b/tools/lpconfig_items.py @@ -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 '' \ No newline at end of file + print(item[1] + '=' + item[2]) + print('')