summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a599c68)
raw | patch | inline | side by side (parent: a599c68)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 26 Aug 2003 00:06:56 +0000 (00:06 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 26 Aug 2003 00:06:56 +0000 (00:06 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1820 57a73879-2fb5-44c3-a270-3262357dd7e2
diff --git a/CHANGES.txt b/CHANGES.txt
index 2c86ddcd63bd358cec188b6b3d34a608f8ffb60c..47ddc91c7bccf71aa98b99d78051b90ae319832b 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
are given with the most recent entry first.
2003-08-?? 0.6.1
+Fixed:
- Add note about installing cgi-bin with a different interpreter
+- Importing wasn't setting None values explicitly when it should have been
2003-08-08 0.6.0
diff --git a/roundup/admin.py b/roundup/admin.py
index e93bf4f0861122c656826a36fe85776a6addd266..06fac7827c9d0cb101b4beb8a99085d7f817450f 100644 (file)
--- a/roundup/admin.py
+++ b/roundup/admin.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: admin.py,v 1.55 2003-06-23 08:05:30 neaj Exp $
+# $Id: admin.py,v 1.56 2003-08-26 00:06:55 richard Exp $
'''Administration commands for maintaining Roundup trackers.
'''
p = csv.parser(field_sep=':')
file_props = p.parse(f.readline())
-# XXX we don't _really_ need to do this...
-# properties = cl.getprops()
-# propnames = properties.keys()
-# propnames.sort()
-# m = file_props[:]
-# m.sort()
-# if m != propnames:
-# raise UsageError, _('Import file doesn\'t define the same '
-# 'properties as "%(arg0)s".')%{'arg0': args[0]}
-
# loop through the file and create a node for each entry
maxid = 1
while 1:
index 62d8fb6524472e91e86ae54832477c3e9b29f854..e0f516ce1e5b5c5124d5d31c72f8a85a5e66ac32 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-#$Id: back_anydbm.py,v 1.122 2003-08-12 01:49:30 richard Exp $
+#$Id: back_anydbm.py,v 1.123 2003-08-26 00:06:55 richard Exp $
'''
This module defines a backend that saves the hyperdatabase in a database
chosen by anydbm. It is guaranteed to always be available in python
d[self.db.RETIRED_FLAG] = 1
continue
elif value is None:
- # don't set Nones
+ d[propname] = None
continue
prop = properties[propname]
index 34828679aaa7a389b68305a2dc2a36f06e039a3e..60997dff9aafd678766dcf672c5634263eda1227 100755 (executable)
-# $Id: back_metakit.py,v 1.47 2003-05-09 01:47:50 richard Exp $
+# $Id: back_metakit.py,v 1.48 2003-08-26 00:06:56 richard Exp $
'''
Metakit backend for Roundup, originally by Gordon McMillan.
if int(value):
d['_isdel'] = 1
continue
+ elif value is None:
+ d[propname] = None
+ continue
prop = properties[propname]
if isinstance(prop, hyperdb.Date):
index a6e268dbbc430044b909125ef6d9b405767c8ca8..2bbe0e00479fd4bb5ac165fc178fe8e7446edf89 100644 (file)
-# $Id: rdbms_common.py,v 1.58 2003-08-12 02:18:46 richard Exp $
+# $Id: rdbms_common.py,v 1.59 2003-08-26 00:06:56 richard Exp $
''' Relational database (SQL) backend common code.
Basics:
if int(value):
retire = 1
continue
+ elif value is None:
+ d[propname] = None
+ continue
prop = properties[propname]
if value is None: