Code

Reverted a change in hyperdb so the default value for missing property
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 11 Oct 2001 00:17:51 +0000 (00:17 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 11 Oct 2001 00:17:51 +0000 (00:17 +0000)
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
roundup/hyperdb.py

index 3c7d1a40c6bc67c6a25297029b695ac3a6e30a5b..f83ddbdcd977092e8501bfe6458dbfe71839f106 100644 (file)
@@ -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/
-
index 6cb593fb88e96fda97ee9f1b055681ff334da368..528582fb695bcab5076b77955f07a532a8dec586 100644 (file)
@@ -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