Skip to content

Commit 193ffba

Browse files
author
Richard Jones
committed
new cgi client here too
1 parent 2962dab commit 193ffba

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

frontends/ZRoundup/ZRoundup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1515
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1616
#
17-
# $Id: ZRoundup.py,v 1.9 2002-07-04 01:25:22 dman13 Exp $
17+
# $Id: ZRoundup.py,v 1.10 2002-09-04 02:05:19 richard Exp $
1818
#
1919
''' ZRoundup module - exposes the roundup web interface to Zope
2020
@@ -45,7 +45,7 @@
4545
modulesecurity = ModuleSecurityInfo()
4646

4747
import roundup.instance
48-
from roundup import cgi_client
48+
from roundup.cgi import NotFound
4949

5050
modulesecurity.declareProtected('View management screens',
5151
'manage_addZRoundupForm')
@@ -191,7 +191,7 @@ def __getitem__(self, item):
191191
# and call roundup to do something
192192
client.main()
193193
return ''
194-
except cgi_client.NotFound:
194+
except NotFound:
195195
raise 'NotFound', self.REQUEST.URL
196196
pass
197197
except:
@@ -208,6 +208,9 @@ def __getitem__(self, item):
208208

209209
#
210210
# $Log: not supported by cvs2svn $
211+
# Revision 1.9 2002/07/04 01:25:22 dman13
212+
# fixed #576086 (dumb copying mistake)
213+
#
211214
# Revision 1.8 2002/06/16 01:01:42 dman13
212215
# remove CR characters embedded in messages (ZRoundup)
213216
#

0 commit comments

Comments
 (0)