summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: de7716b)
raw | patch | inline | side by side (parent: de7716b)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 26 Mar 2004 00:46:33 +0000 (00:46 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 26 Mar 2004 00:46:33 +0000 (00:46 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2198 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi/actions.py | patch | blob | history |
diff --git a/roundup/cgi/actions.py b/roundup/cgi/actions.py
index 42bd7ecde4ce111890b57bf924e738f3cbe89857..529bfaca2d97ba2e9b57c2945bb16fd57edd8efa 100755 (executable)
--- a/roundup/cgi/actions.py
+++ b/roundup/cgi/actions.py
-#$Id: actions.py,v 1.15 2004-03-26 00:44:11 richard Exp $
+#$Id: actions.py,v 1.16 2004-03-26 00:46:33 richard Exp $
import re, cgi, StringIO, urllib, Cookie, time, random
-from roundup import hyperdb, token, date, password, rcsv
+from roundup import hyperdb, token, date, password, rcsv, exceptions
from roundup.i18n import _
from roundup.cgi import templating
from roundup.cgi.exceptions import Redirect, Unauthorised, SeriousError
# handle the props
try:
message = self._editnodes(props, links)
- except (ValueError, KeyError, IndexError), message:
+ except (ValueError, KeyError, IndexError, exceptions.Reject), message:
self.client.error_message.append(_('Apply Error: ') + str(message))
return
# when it hits the None element, it'll set self.nodeid
messages = self._editnodes(props, links)
- except (ValueError, KeyError, IndexError), message:
+ except (ValueError, KeyError, IndexError, exceptions.Reject), message:
# these errors might just be indicative of user dumbness
self.client.error_message.append(_('Error: ') + str(message))
return