Mercurial > p > roundup > code
diff roundup/hyperdb.py @ 993:07f88a837450
turn on journalling of links by default
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 30 Aug 2002 08:37:16 +0000 |
| parents | 301a02ea6020 |
| children | 04a6b3bfbf23 |
line wrap: on
line diff
--- a/roundup/hyperdb.py Fri Aug 30 08:37:00 2002 +0000 +++ b/roundup/hyperdb.py Fri Aug 30 08:37:16 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: hyperdb.py,v 1.80 2002-08-16 04:28:13 richard Exp $ +# $Id: hyperdb.py,v 1.81 2002-08-30 08:37:16 richard Exp $ __doc__ = """ Hyperdatabase implementation, especially field types. @@ -83,7 +83,7 @@ class Link: """An object designating a Link property that links to a node in a specified class.""" - def __init__(self, classname, do_journal='no'): + def __init__(self, classname, do_journal='yes'): ''' Default is to not journal link and unlink events ''' self.classname = classname @@ -101,7 +101,7 @@ "do_journal" indicates whether the linked-to nodes should have 'link' and 'unlink' events placed in their journal """ - def __init__(self, classname, do_journal='no'): + def __init__(self, classname, do_journal='yes'): ''' Default is to not journal link and unlink events ''' self.classname = classname @@ -334,7 +334,7 @@ def __repr__(self): '''Slightly more useful representation ''' - return '<hypderdb.Class "%s">'%self.classname + return '<hyperdb.Class "%s">'%self.classname # Editing nodes: @@ -609,6 +609,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.80 2002/08/16 04:28:13 richard +# added is_retired query to Class +# # Revision 1.79 2002/07/29 23:30:14 richard # documentation reorg post-new-security #
