Skip to content

Commit c49da5b

Browse files
author
Richard Jones
committed
fix journal export of files to remove content from CSV files
1 parent b0061a5 commit c49da5b

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Fixed:
3232
- fixed external password source example (sf bug 986601)
3333
- document the STATIC_FILES config var
3434
- implement the HTTP HEAD command (sf bug 992544)
35+
- fix journal export of files to remove content from CSV files
3536

3637

3738
2004-06-24 0.7.5

roundup/backends/back_anydbm.py

Lines changed: 2 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: back_anydbm.py,v 1.160 2004-07-02 05:22:09 richard Exp $
18+
#$Id: back_anydbm.py,v 1.161 2004-07-20 05:57:54 richard Exp $
1919
'''This module defines a backend that saves the hyperdatabase in a
2020
database chosen by anydbm. It is guaranteed to always be available in python
2121
versions >2.1.1 (the dumbdbm fallback in 2.1.1 and earlier has several
@@ -2030,7 +2030,7 @@ def import_journals(self, entries):
20302030
for nodeid, l in d.items():
20312031
self.db.setjournal(self.classname, nodeid, l)
20322032

2033-
class FileClass(Class, hyperdb.FileClass):
2033+
class FileClass(hyperdb.FileClass, Class):
20342034
'''This class defines a large chunk of data. To support this, it has a
20352035
mandatory String property "content" which is typically saved off
20362036
externally to the hyperdb.

roundup/backends/back_metakit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: back_metakit.py,v 1.78 2004-07-01 03:55:47 richard Exp $
1+
# $Id: back_metakit.py,v 1.79 2004-07-20 05:58:07 richard Exp $
22
'''Metakit backend for Roundup, originally by Gordon McMillan.
33
44
Known Current Bugs:
@@ -1814,7 +1814,7 @@ class FileName(hyperdb.String):
18141814
hyperdb.Boolean : 'I',
18151815
hyperdb.Number : 'I',
18161816
}
1817-
class FileClass(Class, hyperdb.FileClass):
1817+
class FileClass(hyperdb.FileClass, Class):
18181818
''' like Class but with a content property
18191819
'''
18201820
default_mime_type = 'text/plain'

roundup/backends/rdbms_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: rdbms_common.py,v 1.123 2004-07-19 01:49:51 richard Exp $
1+
# $Id: rdbms_common.py,v 1.124 2004-07-20 05:58:07 richard Exp $
22
''' Relational database (SQL) backend common code.
33
44
Basics:
@@ -2461,7 +2461,7 @@ def import_journals(self, entries):
24612461
for nodeid, l in d.items():
24622462
self.db.setjournal(self.classname, nodeid, l)
24632463

2464-
class FileClass(Class, hyperdb.FileClass):
2464+
class FileClass(hyperdb.FileClass, Class):
24652465
'''This class defines a large chunk of data. To support this, it has a
24662466
mandatory String property "content" which is typically saved off
24672467
externally to the hyperdb.

0 commit comments

Comments
 (0)