summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-08-15 13:56:06 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-08-15 13:56:06 -0500
commit7dd503d6b8c49977d1f88cd5e8422a11bb42ba6d (patch)
tree1f6b10c79d7b1ebdd427663137f515fe6136ff8d /src/lib
parent0bfe30a61d76511da3ea1ee2cb526a87bc50cffb (diff)
downloadbcfg2-7dd503d6b8c49977d1f88cd5e8422a11bb42ba6d.tar.gz
bcfg2-7dd503d6b8c49977d1f88cd5e8422a11bb42ba6d.tar.bz2
bcfg2-7dd503d6b8c49977d1f88cd5e8422a11bb42ba6d.zip
Wrong module
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Bcfg2/Server/SchemaUpdater/Routines.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/SchemaUpdater/Routines.py b/src/lib/Bcfg2/Server/SchemaUpdater/Routines.py
index 542a1302e..4fcf0e6bf 100644
--- a/src/lib/Bcfg2/Server/SchemaUpdater/Routines.py
+++ b/src/lib/Bcfg2/Server/SchemaUpdater/Routines.py
@@ -219,7 +219,7 @@ class RemoveColumns(RebuildTable):
logger.debug("Dropping column %s" % column)
- db_engine = Bcfg2.DATABASES['default']['ENGINE']
+ db_engine = Bcfg2.settings.DATABASES['default']['ENGINE']
if db_engine == 'django.db.backends.sqlite3':
_rebuild_sqlite_table(self.model)
else: