Some misc cleanup
authored
Sun, 29 Nov 2009 18:06:38 +0100
changeset 440 f122eb4248b6
parent 439 aa7266534461
child 441 379c66468cf6
Some misc cleanup
plugger.py
--- a/plugger.py	Sun Nov 29 16:34:02 2009 +0100
+++ b/plugger.py	Sun Nov 29 18:06:38 2009 +0100
@@ -1529,27 +1529,23 @@
             status = self._connector.GetPLCstatus()
         else:
             status = "Disconnected"
-        _ = lambda x : x
         for args in {
-               _("Starting"):     [("_Run", True),
+                 "Starting" :    [("_Run", True),
                                   ("_Debug", True),
                                   ("_Stop", False)],
-               _("Started"):     [("_Run", False),
+                 "Started" :     [("_Run", False),
                                   ("_Debug", False),
                                   ("_Stop", True)],
-               _("Stopped"):     [("_Run", True),
+                 "Stopped" :     [("_Run", True),
                                   ("_Debug", True),
                                   ("_Stop", False)],
-               _("Empty"):       [("_Run", False),
+                 "Empty" :       [("_Run", False),
                                   ("_Debug", False),
                                   ("_Stop", False)],
-               _("Dirty"):       [("_Run", True),
+                 "Broken" :      [("_Run", True),
                                   ("_Debug", True),
                                   ("_Stop", False)],
-               _("Broken"):      [("_Run", True),
-                                  ("_Debug", True),
-                                  ("_Stop", False)],
-               _("Disconnected"):[("_Run", False),
+                 "Disconnected" :[("_Run", False),
                                   ("_Debug", False),
                                   ("_Stop", False),
                                   ("_Transfer", False),