From a09170d0cac097a5d4f893b2ac042ca5d11b4832 Mon Sep 17 00:00:00 2001 From: mkonecny Date: Fri, 7 Jan 2011 16:50:33 -0500 Subject: [PATCH] -updated update_db_info.py script so that propel-gen handles regenerating /application/configs/propel-config.php --- build/update_db_info.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/update_db_info.py b/build/update_db_info.py index 38c820b2f..70a341f50 100644 --- a/build/update_db_info.py +++ b/build/update_db_info.py @@ -4,7 +4,7 @@ we need to update database host, dbname, username and password. This script reads from database.conf. """ - +import os import ConfigParser import xml.dom.minidom from xml.dom.minidom import Node @@ -73,5 +73,6 @@ xml_file = open('runtime-conf.xml', "w") xml_file.writelines(doc.toxml('utf-8')) xml_file.close() - +print 'Regenerating propel-config.php' +os.system('../library/propel/generator/bin/propel-gen')