diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2010-11-04 11:24:40 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2010-11-04 11:24:40 +0530 |
| commit | d644417abb6d962287ebc2d9293a901a38dcf238 (patch) | |
| tree | d964367912ebefcef4c8de9677398aaf7c95f7f0 /bin/addons/base/module/wizard/base_module_upgrade.py | |
| parent | 24c91a5e4194110d83833f9ba377e537e8edc720 (diff) | |
[FIX] base: correct warning messages
bzr revid: hmo@tinyerp.com-20101104055440-av49qnlqxziq9vro
Diffstat (limited to 'bin/addons/base/module/wizard/base_module_upgrade.py')
| -rw-r--r-- | bin/addons/base/module/wizard/base_module_upgrade.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/addons/base/module/wizard/base_module_upgrade.py b/bin/addons/base/module/wizard/base_module_upgrade.py index b791aeea459..de9df1ec3e0 100644 --- a/bin/addons/base/module/wizard/base_module_upgrade.py +++ b/bin/addons/base/module/wizard/base_module_upgrade.py @@ -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) |
