src/eric7/Templates/TemplatesFile.py

branch
eric7
changeset 9278
36448ca469c2
parent 9221
bf71ee032bb4
child 9413
80c06d472826
--- 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

eric ide

mercurial