Skip to content

Commit 531b2e8

Browse files
author
Richard Jones
committed
oops, python2.3-ism
1 parent 5eff730 commit 531b2e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

roundup/cgi/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.130.2.8 2004-02-13 01:13:25 richard Exp $
1+
# $Id: client.py,v 1.130.2.9 2004-02-13 01:35:02 richard Exp $
22

33
__doc__ = """
44
WWW request handler (also used in the stand-alone server).
@@ -1054,7 +1054,7 @@ def newItemAction(self):
10541054
'''
10551055
# parse the props from the form
10561056
try:
1057-
props, links = self.parsePropsFromForm(create=True)
1057+
props, links = self.parsePropsFromForm(create=1)
10581058
except (ValueError, KeyError), message:
10591059
self.error_message.append(_('Error: ') + str(message))
10601060
return
@@ -1463,7 +1463,7 @@ def showAction(self, typere=re.compile('[@:]type'),
14631463
url = '%s%s%s'%(self.db.config.TRACKER_WEB, t, n)
14641464
raise Redirect, url
14651465

1466-
def parsePropsFromForm(self, create=False, num_re=re.compile('^\d+$')):
1466+
def parsePropsFromForm(self, create=0, num_re=re.compile('^\d+$')):
14671467
''' Item properties and their values are edited with html FORM
14681468
variables and their values. You can:
14691469

0 commit comments

Comments
 (0)