Skip to content

Commit 9006f24

Browse files
author
Richard Jones
committed
ehem
1 parent 10f62fe commit 9006f24

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

roundup/cgi/client.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.130.2.12 2004-02-25 23:23:56 richard Exp $
1+
# $Id: client.py,v 1.130.2.13 2004-02-25 23:26:30 richard Exp $
22

33
__doc__ = """
44
WWW request handler (also used in the stand-alone server).
@@ -1489,17 +1489,14 @@ def showAction(self, typere=re.compile('[@:]type'),
14891489
n = self.form[key].value.strip()
14901490
if not t:
14911491
raise ValueError, 'No type specified'
1492-
return
14931492
if not n:
14941493
raise SeriousError, _('No ID entered')
1495-
return
14961494
try:
14971495
int(n)
14981496
except ValueError:
14991497
d = {'input': n, 'classname': t}
15001498
raise SeriousError, _(
15011499
'"%(input)s" is not an ID (%(classname)s ID required)')%d
1502-
return
15031500
url = '%s%s%s'%(self.db.config.TRACKER_WEB, t, n)
15041501
raise Redirect, url
15051502

0 commit comments

Comments
 (0)