[MERGE] from ~halls: corrected wrong method call: db_exist -> exp_db_exist

bzr revid: odo@openerp.com-20100419112312-17zc5iqdpu3g27im
This commit is contained in:
Chris Halls
2010-04-19 13:23:12 +02:00
committed by Olivier Dony
+1 -1
View File
@@ -217,7 +217,7 @@ class db(netsvc.ExportService):
self._set_pg_psw_env_var()
if self.db_exist(db_name):
if self.exp_db_exist(db_name):
logger.notifyChannel("web-services", netsvc.LOG_WARNING,
'RESTORE DB: %s already exists' % (db_name,))
raise Exception, "Database already exists"