Skip to content

Commit a2adbf5

Browse files
author
Richard Jones
committed
Fixed [SF#447671] - typo
1 parent 95e9127 commit a2adbf5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

roundup/init.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: init.py,v 1.10 2001-08-03 01:28:33 richard Exp $
1+
# $Id: init.py,v 1.11 2001-08-04 22:42:43 richard Exp $
22

33
import os, shutil, sys, errno, imp
44

@@ -50,11 +50,14 @@ def init(instance_home, template, backend, adminpw):
5050
open(os.path.join(instance_home, 'select_db.py'), 'w').write(db)
5151

5252
# now import the instance and call its init
53-
instance = imp.loa_package('instance', instance_home)
53+
instance = imp.load_package('instance', instance_home)
5454
instance.init(adminpw)
5555

5656
#
5757
# $Log: not supported by cvs2svn $
58+
# Revision 1.10 2001/08/03 01:28:33 richard
59+
# Used the much nicer load_package, pointed out by Steve Majewski.
60+
#
5861
# Revision 1.9 2001/08/03 00:59:34 richard
5962
# Instance import now imports the instance using imp.load_module so that
6063
# we can have instance homes of "roundup" or other existing python package

0 commit comments

Comments
 (0)