diff -r 471c5a263d53 -r 36448ca469c2 src/eric7/Templates/TemplatesFile.py --- a/src/eric7/Templates/TemplatesFile.py Thu Jul 28 19:44:54 2022 +0200 +++ b/src/eric7/Templates/TemplatesFile.py Fri Jul 29 16:29:31 2022 +0200 @@ -46,12 +46,13 @@ @return flag indicating a successful write @rtype bool """ - templatesDict = {} - # step 0: header - templatesDict["header"] = { - "comment": "eric templates file", - "saved": time.strftime("%Y-%m-%d, %H:%M:%S"), - "warning": ("This file was generated automatically, do not edit."), + templatesDict = { + # step 0: header + "header": { + "comment": "eric templates file", + "saved": time.strftime("%Y-%m-%d, %H:%M:%S"), + "warning": ("This file was generated automatically, do not edit."), + } } # step 1: template groups and templates