We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 007f410 commit 01e3f5bCopy full SHA for 01e3f5b
roundup/cgi/client.py
@@ -1,4 +1,4 @@
1
-# $Id: client.py,v 1.35 2002-09-16 05:33:58 richard Exp $
+# $Id: client.py,v 1.36 2002-09-16 06:39:12 richard Exp $
2
3
__doc__ = """
4
WWW request handler (also used in the stand-alone server).
@@ -297,6 +297,8 @@ def determine_context(self, dre=re.compile(r'([^\d]+)(\d+)')):
297
if m:
298
self.classname = m.group(1)
299
self.nodeid = m.group(2)
300
+ if not self.db.getclass(self.classname).hasnode(self.nodeid):
301
+ raise NotFound, '%s/%s'%(self.classname, self.nodeid)
302
# with a designator, we default to item view
303
self.template = 'item'
304
else:
0 commit comments