From ffda1626e4b69adccdf76aa1755d291edcb24949 Mon Sep 17 00:00:00 2001 From: schlatterbeck Date: Thu, 8 Apr 2010 14:40:10 +0000 Subject: [PATCH] - fix case where action isn't present in form, e.g., for xmlrpc git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4476 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 13e0bfd..efbe689 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') - else: + elif action: action = action.value.lower() if action in ('login', 'register'): return -- 2.30.2