From c027e538e8e8ca091aa75a219559deeba0540ef4 Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 10 Jul 2010 03:52:22 +0000 Subject: [PATCH] fix actions check for < Python2.6 git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4490 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/cgi/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py index ed30096..3daeb8b 100644 --- a/roundup/cgi/client.py +++ b/roundup/cgi/client.py @@ -742,7 +742,7 @@ class Client: action = '' if isinstance(action, list): raise SeriousError('broken form: multiple @action values submitted') - elif action: + elif action != '': action = action.value.lower() if action in ('login', 'register'): return -- 2.30.2