changeset 2011:6a9e4e07c7d9 maint-0.6

oops, python2.3-ism
author Richard Jones <richard@users.sourceforge.net>
date Fri, 13 Feb 2004 01:35:02 +0000
parents 88291693df3a
children 2fe25413867f
files roundup/cgi/client.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/cgi/client.py	Fri Feb 13 01:13:25 2004 +0000
+++ b/roundup/cgi/client.py	Fri Feb 13 01:35:02 2004 +0000
@@ -1,4 +1,4 @@
-# $Id: client.py,v 1.130.2.8 2004-02-13 01:13:25 richard Exp $
+# $Id: client.py,v 1.130.2.9 2004-02-13 01:35:02 richard Exp $
 
 __doc__ = """
 WWW request handler (also used in the stand-alone server).
@@ -1054,7 +1054,7 @@
         '''
         # parse the props from the form
         try:
-            props, links = self.parsePropsFromForm(create=True)
+            props, links = self.parsePropsFromForm(create=1)
         except (ValueError, KeyError), message:
             self.error_message.append(_('Error: ') + str(message))
             return
@@ -1463,7 +1463,7 @@
         url = '%s%s%s'%(self.db.config.TRACKER_WEB, t, n)
         raise Redirect, url
 
-    def parsePropsFromForm(self, create=False, num_re=re.compile('^\d+$')):
+    def parsePropsFromForm(self, create=0, num_re=re.compile('^\d+$')):
         ''' Item properties and their values are edited with html FORM
             variables and their values. You can:
 

Roundup Issue Tracker: http://roundup-tracker.org/