etherlab/etherlab.py
changeset 2384 d7d9f0e60bc9
parent 2381 1c40e3976cc2
child 2387 5cf1d70b5395
--- a/etherlab/etherlab.py	Sat Sep 29 15:24:07 2018 +0300
+++ b/etherlab/etherlab.py	Sat Sep 29 15:31:50 2018 +0300
@@ -157,27 +157,36 @@
 class ModulesLibrary:
 
     MODULES_EXTRA_PARAMS = [
-        ("pdo_alignment", {
-            "column_label": _("PDO alignment"),
-            "column_size": 150,
-            "default": 8,
-            "description": _(
-"Minimal size in bits between 2 pdo entries")}),
-        ("max_pdo_size", {
-            "column_label": _("Max entries by PDO"),
-            "column_size": 150,
-            "default": 255,
-            "description": _(
-"""Maximal number of entries mapped in a PDO
-including empty entries used for PDO alignment""")}),
-        ("add_pdo", {
-            "column_label": _("Creating new PDO"),
-            "column_size": 150,
-            "default": 0,
-            "description": _(
-"""Adding a PDO not defined in default configuration
+        (
+            "pdo_alignment",
+            {
+                "column_label": _("PDO alignment"),
+                "column_size": 150,
+                "default": 8,
+                "description": _("Minimal size in bits between 2 pdo entries")
+            }
+        ),
+        (
+            "max_pdo_size",
+            {
+                "column_label": _("Max entries by PDO"),
+                "column_size": 150,
+                "default": 255,
+                "description": _("""Maximal number of entries mapped in a PDO
+including empty entries used for PDO alignment""")
+            }
+        ),
+        (
+            "add_pdo",
+            {
+                "column_label": _("Creating new PDO"),
+                "column_size": 150,
+                "default": 0,
+                "description": _("""Adding a PDO not defined in default configuration
 for mapping needed location variables
-(1 if possible)""")})
+(1 if possible)""")
+            }
+        )
     ]
 
     def __init__(self, path, parent_library=None):