[PATCH] Fix bracket typo

Jan Tluka jtluka at redhat.com
Wed May 29 14:08:17 UTC 2013


It seems that this issue is seen only with Python 2.6. 2.7 and older are
ok as Ondrej pointed out via irc.

Wed, May 29, 2013 at 03:46:48PM CEST, jtluka at redhat.com wrote:
>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
>
>_______________________________________________
>LNST-developers mailing list
>LNST-developers at lists.fedorahosted.org
>https://lists.fedorahosted.org/mailman/listinfo/lnst-developers


More information about the LNST-developers mailing list