Skip to content

Commit ecc4428

Browse files
author
Richard Jones
committed
include the "content" property in getprops....
1 parent 16bbdff commit ecc4428

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

roundup/backends/back_anydbm.py

Lines changed: 2 additions & 3 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.79 2002-09-15 23:06:20 richard Exp $
18+
#$Id: back_anydbm.py,v 1.80 2002-09-17 23:59:59 richard Exp $
1919
'''
2020
This module defines a backend that saves the hyperdatabase in a database
2121
chosen by anydbm. It is guaranteed to always be available in python
@@ -1877,8 +1877,7 @@ def getprops(self, protected=1):
18771877
modified.
18781878
'''
18791879
d = Class.getprops(self, protected=protected).copy()
1880-
if protected:
1881-
d['content'] = hyperdb.String()
1880+
d['content'] = hyperdb.String()
18821881
return d
18831882

18841883
def index(self, nodeid):

0 commit comments

Comments
 (0)