From f8e153361e8f66a0ec9aac0d007d2033f4beb6d0 Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 11 Oct 2001 00:17:51 +0000 Subject: [PATCH] Reverted a change in hyperdb so the default value for missing property values in a create() is None and not '' (the empty string.) This obviously breaks CSV import/export - the string 'None' will be created in an export/import operation. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@291 57a73879-2fb5-44c3-a270-3262357dd7e2 --- doc/announcement.txt | 18 ++++++++++-------- roundup/hyperdb.py | 9 +++++++-- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/doc/announcement.txt b/doc/announcement.txt index 3c7d1a4..f83ddbd 100644 --- a/doc/announcement.txt +++ b/doc/announcement.txt @@ -1,18 +1,24 @@ Roundup 0.3.0pre1 - an issue tracking system -**PREVIEW RELEASE** + **PREVIEW RELEASE** This release is in use by Bizar Software, but has had little testing beyond that. It contains several new features which will require migration, so we're releasing this preview for the bleeding-edge users. -** existing users _must_ read the MIGRATION.txt that accompanies the +**NOTE** existing users _must_ read the MIGRATION.txt that accompanies the source. This release includes several bug fixes and usability improvements. It switches the CGI interface authentication over from HTTP Basic to cookie -based. It introduces encoded password storage. For a more detailed in -the CHANGES file accompanying the source. +based. It introduces encoded password storage. See the CHANGES file accompanying the source for more detail. + +Source and documentation is available at the website: + http://roundup.sourceforge.net/ + + +About Roundup +============= Roundup is a simple-to-use and -install issue-tracking system with command-line, web and e-mail interfaces. It is based on the winning design @@ -34,7 +40,3 @@ doesn't even need to be "installed" to be operational, though a disutils-based install script is provided. It comes with two issue tracker templates and three database back-ends. - -Source and documentation is available at the website: - http://roundup.sourceforge.net/ - diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py index 6cb593f..528582f 100644 --- a/roundup/hyperdb.py +++ b/roundup/hyperdb.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: hyperdb.py,v 1.24 2001-10-10 03:54:57 richard Exp $ +# $Id: hyperdb.py,v 1.25 2001-10-11 00:17:51 richard Exp $ # standard python modules import cPickle, re, string @@ -215,7 +215,7 @@ class Class: if isinstance(prop, Multilink): propvalues[key] = [] else: - propvalues[key] = '' + propvalues[key] = None # convert all data to strings for key, prop in self.properties.items(): @@ -849,6 +849,11 @@ def Choice(name, *options): # # $Log: not supported by cvs2svn $ +# Revision 1.24 2001/10/10 03:54:57 richard +# Added database importing and exporting through CSV files. +# Uses the csv module from object-craft for exporting if it's available. +# Requires the csv module for importing. +# # Revision 1.23 2001/10/09 23:58:10 richard # Moved the data stringification up into the hyperdb.Class class' get, set # and create methods. This means that the data is also stringified for the -- 2.30.2