Skip to content

Commit 83bef10

Browse files
author
Richard Jones
committed
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.
1 parent 3e7a644 commit 83bef10

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

doc/announcement.txt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
Roundup 0.3.0pre1 - an issue tracking system
22

3-
**PREVIEW RELEASE**
3+
**PREVIEW RELEASE**
44

55
This release is in use by Bizar Software, but has had little testing beyond
66
that. It contains several new features which will require migration, so
77
we're releasing this preview for the bleeding-edge users.
88

9-
** existing users _must_ read the MIGRATION.txt that accompanies the
9+
**NOTE** existing users _must_ read the MIGRATION.txt that accompanies the
1010
source.
1111

1212
This release includes several bug fixes and usability improvements. It
1313
switches the CGI interface authentication over from HTTP Basic to cookie
14-
based. It introduces encoded password storage. For a more detailed in
15-
the CHANGES file accompanying the source.
14+
based. It introduces encoded password storage. See the CHANGES file accompanying the source for more detail.
15+
16+
Source and documentation is available at the website:
17+
http://roundup.sourceforge.net/
18+
19+
20+
About Roundup
21+
=============
1622

1723
Roundup is a simple-to-use and -install issue-tracking system with
1824
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
3440
disutils-based install script is provided.
3541

3642
It comes with two issue tracker templates and three database back-ends.
37-
38-
Source and documentation is available at the website:
39-
http://roundup.sourceforge.net/
40-

roundup/hyperdb.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: hyperdb.py,v 1.24 2001-10-10 03:54:57 richard Exp $
18+
# $Id: hyperdb.py,v 1.25 2001-10-11 00:17:51 richard Exp $
1919

2020
# standard python modules
2121
import cPickle, re, string
@@ -215,7 +215,7 @@ def create(self, **propvalues):
215215
if isinstance(prop, Multilink):
216216
propvalues[key] = []
217217
else:
218-
propvalues[key] = ''
218+
propvalues[key] = None
219219

220220
# convert all data to strings
221221
for key, prop in self.properties.items():
@@ -849,6 +849,11 @@ def Choice(name, *options):
849849

850850
#
851851
# $Log: not supported by cvs2svn $
852+
# Revision 1.24 2001/10/10 03:54:57 richard
853+
# Added database importing and exporting through CSV files.
854+
# Uses the csv module from object-craft for exporting if it's available.
855+
# Requires the csv module for importing.
856+
#
852857
# Revision 1.23 2001/10/09 23:58:10 richard
853858
# Moved the data stringification up into the hyperdb.Class class' get, set
854859
# and create methods. This means that the data is also stringified for the

0 commit comments

Comments
 (0)