diff roundup/backends/rdbms_common.py @ 1442:b42fa71754c9

don't attempt to create FileClass items if no content is supplied
author Richard Jones <richard@users.sourceforge.net>
date Tue, 18 Feb 2003 01:57:39 +0000
parents c70068162e64
children 378081f066cc
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py	Tue Feb 18 01:48:39 2003 +0000
+++ b/roundup/backends/rdbms_common.py	Tue Feb 18 01:57:39 2003 +0000
@@ -1,4 +1,4 @@
-# $Id: rdbms_common.py,v 1.33 2003-02-14 00:31:45 richard Exp $
+# $Id: rdbms_common.py,v 1.34 2003-02-18 01:57:39 richard Exp $
 ''' Relational database (SQL) backend common code.
 
 Basics:
@@ -1977,7 +1977,7 @@
         for react in self.reactors[action]:
             react(self.db, self, nodeid, oldvalues)
 
-class FileClass(Class):
+class FileClass(Class, hyperdb.FileClass):
     '''This class defines a large chunk of data. To support this, it has a
        mandatory String property "content" which is typically saved off
        externally to the hyperdb.

Roundup Issue Tracker: http://roundup-tracker.org/