summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b122a86)
raw | patch | inline | side by side (parent: b122a86)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 4 Aug 2001 22:42:43 +0000 (22:42 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 4 Aug 2001 22:42:43 +0000 (22:42 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@207 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/init.py | patch | blob | history |
diff --git a/roundup/init.py b/roundup/init.py
index 9d5cba472b71cd1ed7466252c0adbc16e145de71..1d873d1a549059d88a117ff11402c7082cae048a 100644 (file)
--- a/roundup/init.py
+++ b/roundup/init.py
-# $Id: init.py,v 1.10 2001-08-03 01:28:33 richard Exp $
+# $Id: init.py,v 1.11 2001-08-04 22:42:43 richard Exp $
import os, shutil, sys, errno, imp
open(os.path.join(instance_home, 'select_db.py'), 'w').write(db)
# now import the instance and call its init
- instance = imp.loa_package('instance', instance_home)
+ instance = imp.load_package('instance', instance_home)
instance.init(adminpw)
#
# $Log: not supported by cvs2svn $
+# Revision 1.10 2001/08/03 01:28:33 richard
+# Used the much nicer load_package, pointed out by Steve Majewski.
+#
# Revision 1.9 2001/08/03 00:59:34 richard
# Instance import now imports the instance using imp.load_module so that
# we can have instance homes of "roundup" or other existing python package