Skip to content

Commit e059ad2

Browse files
author
Richard Jones
committed
turn on journalling of links by default
1 parent 4979c54 commit e059ad2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

roundup/hyperdb.py

Lines changed: 7 additions & 4 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: hyperdb.py,v 1.80 2002-08-16 04:28:13 richard Exp $
18+
# $Id: hyperdb.py,v 1.81 2002-08-30 08:37:16 richard Exp $
1919

2020
__doc__ = """
2121
Hyperdatabase implementation, especially field types.
@@ -83,7 +83,7 @@ def __repr__(self):
8383
class Link:
8484
"""An object designating a Link property that links to a
8585
node in a specified class."""
86-
def __init__(self, classname, do_journal='no'):
86+
def __init__(self, classname, do_journal='yes'):
8787
''' Default is to not journal link and unlink events
8888
'''
8989
self.classname = classname
@@ -101,7 +101,7 @@ class Multilink:
101101
"do_journal" indicates whether the linked-to nodes should have
102102
'link' and 'unlink' events placed in their journal
103103
"""
104-
def __init__(self, classname, do_journal='no'):
104+
def __init__(self, classname, do_journal='yes'):
105105
''' Default is to not journal link and unlink events
106106
'''
107107
self.classname = classname
@@ -334,7 +334,7 @@ def __init__(self, db, classname, **properties):
334334
def __repr__(self):
335335
'''Slightly more useful representation
336336
'''
337-
return '<hypderdb.Class "%s">'%self.classname
337+
return '<hyperdb.Class "%s">'%self.classname
338338

339339
# Editing nodes:
340340

@@ -609,6 +609,9 @@ def Choice(name, db, *options):
609609

610610
#
611611
# $Log: not supported by cvs2svn $
612+
# Revision 1.80 2002/08/16 04:28:13 richard
613+
# added is_retired query to Class
614+
#
612615
# Revision 1.79 2002/07/29 23:30:14 richard
613616
# documentation reorg post-new-security
614617
#

0 commit comments

Comments
 (0)