[lnst] Fix bracket typo

Jiří Pírko jirka at fedoraproject.org
Fri May 31 11:33:29 UTC 2013

commit dffc2ad29f6126b5fdc6f1f37b84271111670baa
Author: Jan Tluka <jtluka at redhat.com>
Date:   Wed May 29 15:46:48 2013 +0200

    Fix bracket typo
    I accidentally wrote incorrect brackets that results in crash of the
    controller application. This commit fixes it.
    Signed-off-by: Jan Tluka <jtluka at redhat.com>
    Signed-off-by: Jiri Pirko <jiri at resnulli.us>

 lnst-ctl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lnst-ctl b/lnst-ctl
index 1ed3515..5701518 100755
--- a/lnst-ctl
+++ b/lnst-ctl
@@ -145,7 +145,7 @@ def main():
     action = args.pop()
-    if not action in {'run', 'dump', 'config_only', 'match_setup'}:
+    if not action in ['run', 'dump', 'config_only', 'match_setup']:
         logging.error("No action command passed")

More information about the LNST-developers mailing list