Skip to content

Commit 81631f3

Browse files
author
Richard Jones
committed
shipped templates didn't import all hyperdb types in dbinit.py
1 parent 68f2ba0 commit 81631f3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

roundup/templates/classic/dbinit.py

Lines changed: 2 additions & 1 deletion
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: dbinit.py,v 1.30 2002-09-26 23:59:08 richard Exp $
18+
# $Id: dbinit.py,v 1.31 2002-10-10 07:17:39 richard Exp $
1919

2020
import os
2121

@@ -26,6 +26,7 @@ def open(name=None):
2626
''' as from the roundupdb method openDB
2727
'''
2828
from roundup.hyperdb import String, Password, Date, Link, Multilink
29+
from roundup.hyperdb import Interval, Boolean, Number
2930

3031
# open the database
3132
db = Database(config, name)

roundup/templates/minimal/dbinit.py

Lines changed: 2 additions & 1 deletion
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: dbinit.py,v 1.2 2002-09-26 23:59:08 richard Exp $
18+
# $Id: dbinit.py,v 1.3 2002-10-10 07:17:39 richard Exp $
1919

2020
import os
2121

@@ -26,6 +26,7 @@ def open(name=None):
2626
''' as from the roundupdb method openDB
2727
'''
2828
from roundup.hyperdb import String, Password, Date, Link, Multilink
29+
from roundup.hyperdb import Interval, Boolean, Number
2930

3031
# open the database
3132
db = Database(config, name)

0 commit comments

Comments
 (0)