From: richard Date: Sat, 10 Jul 2010 03:52:22 +0000 (+0000) Subject: fix actions check for < Python2.6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c027e538e8e8ca091aa75a219559deeba0540ef4;p=roundup.git fix actions check for < Python2.6 git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4490 57a73879-2fb5-44c3-a270-3262357dd7e2 --- 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