From: schlatterbeck Date: Thu, 8 Apr 2010 14:40:10 +0000 (+0000) Subject: - fix case where action isn't present in form, e.g., for xmlrpc X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ffda1626e4b69adccdf76aa1755d291edcb24949;p=roundup.git - 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 --- 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