[FIX] Python typo fix
lp bug: https://launchpad.net/bugs/324285 fixed bzr revid: stephane@tinyerp.com-20090202143518-6x96x6syd82se26d
This commit is contained in:
parent
557cc93aae
commit
392bf7f442
|
@ -204,7 +204,7 @@ class db(netsvc.Service):
|
|||
cr = db.serialized_cursor()
|
||||
cr.autocommit(True) # XXX inhibit the effect of a serialized cursor. is it what we want ?
|
||||
try:
|
||||
cr.execute("""CREATE DATABASE "%s" ENCODING 'unicode' TEMPLATE 'template0'""" % db_name)
|
||||
cr.execute("""CREATE DATABASE "%s" ENCODING 'unicode' TEMPLATE "template0" """ % db_name)
|
||||
finally:
|
||||
cr.close()
|
||||
sql_db.close_db('template1')
|
||||
|
|
Loading…
Reference in New Issue