From: richard Date: Fri, 30 Aug 2002 08:37:16 +0000 (+0000) Subject: turn on journalling of links by default X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d752b3cfe2b038a68bcda411c18bb5acb1735c00;p=roundup.git turn on journalling of links by default git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1010 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py index d413ae4..a301d7c 100644 --- a/roundup/hyperdb.py +++ b/roundup/hyperdb.py @@ -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 Interval: 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 @@ class Multilink: "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 @@ class Class: def __repr__(self): '''Slightly more useful representation ''' - return ''%self.classname + return ''%self.classname # Editing nodes: @@ -609,6 +609,9 @@ def Choice(name, db, *options): # # $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 #