[PATCH] Fix bracket typo

Jan Tluka jtluka at redhat.com
Wed May 29 13:46:48 UTC 2013


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>
---
 lnst-ctl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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")
         usage();
 
-- 
1.7.11.7



More information about the LNST-developers mailing list