[FIX] base: correct warning messages
bzr revid: hmo@tinyerp.com-20101104055440-av49qnlqxziq9vro
This commit is contained in:
parent
24c91a5e41
commit
d644417abb
|
@ -8746,7 +8746,7 @@ msgstr ""
|
|||
#. module: base
|
||||
#: code:addons/base/module/wizard/base_module_upgrade.py:0
|
||||
#, python-format
|
||||
msgid "Following modules are uninstalled or unknown. \n\n'+'\n'.join(unmet_packages)"
|
||||
msgid "Following modules are not installed or unknown: %s"
|
||||
msgstr ""
|
||||
|
||||
#. module: base
|
||||
|
|
|
@ -93,7 +93,7 @@ class base_module_upgrade(osv.osv_memory):
|
|||
if dep_mod.state in ('unknown','uninstalled'):
|
||||
unmet_packages.append(dep_mod.name)
|
||||
if len(unmet_packages):
|
||||
raise osv.except_osv(_('Unmet dependency !'), _('Following modules are uninstalled or unknown. \n\n'+'\n'.join(unmet_packages)))
|
||||
raise osv.except_osv(_('Unmet dependency !'), _('Following modules are not installed or unknown: %s') % ('\n\n' + '\n'.join(unmet_packages)))
|
||||
mod_obj.download(cr, uid, ids, context=context)
|
||||
cr.commit()
|
||||
_, pool = pooler.restart_pool(cr.dbname, update_module=True)
|
||||
|
|
Loading…
Reference in New Issue