Skip to content

Commit 23fdead

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent df19562 commit 23fdead

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

CHANGES.txt

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

1920

2021
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.146.2.13 2004-07-01 03:58:34 richard Exp $
18+
#$Id: back_anydbm.py,v 1.146.2.14 2004-07-20 05:58:47 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
@@ -2080,7 +2080,7 @@ def import_journals(self, entries):
20802080
for nodeid, l in d.items():
20812081
self.db.setjournal(self.classname, nodeid, l)
20822082

2083-
class FileClass(Class, hyperdb.FileClass):
2083+
class FileClass(hyperdb.FileClass, Class):
20842084
'''This class defines a large chunk of data. To support this, it has a
20852085
mandatory String property "content" which is typically saved off
20862086
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.70.2.6 2004-07-01 03:58:34 richard Exp $
1+
# $Id: back_metakit.py,v 1.70.2.7 2004-07-20 05:58:47 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.98.2.17 2004-07-19 00:38:54 richard Exp $
1+
# $Id: rdbms_common.py,v 1.98.2.18 2004-07-20 05:58:47 richard Exp $
22
''' Relational database (SQL) backend common code.
33
44
Basics:
@@ -2550,7 +2550,7 @@ def import_journals(self, entries):
25502550
for nodeid, l in d.items():
25512551
self.db.setjournal(self.classname, nodeid, l)
25522552

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

roundup/hyperdb.py

Lines changed: 2 additions & 1 deletion
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.97.2.2 2004-06-24 07:14:23 richard Exp $
18+
# $Id: hyperdb.py,v 1.97.2.3 2004-07-20 05:58:47 richard Exp $
1919

2020
"""Hyperdatabase implementation, especially field types.
2121
"""
@@ -771,6 +771,7 @@ def export_propnames(self):
771771
propnames = self.getprops().keys()
772772
propnames.remove('content')
773773
propnames.sort()
774+
print propnames
774775
return propnames
775776

776777
def export_files(self, dirname, nodeid):

0 commit comments

Comments
 (0)