Fix exception message in openstack.common.processutils.execute

Exception message in 'execute' function has wrong value
for module and function. Remove it as wrong and redundant.

Change-Id: Ia5bb4180dbf0df92bfb986c2ddf8327d5bc08e7c
This commit is contained in:
vponomaryov 2014-07-08 16:38:12 +03:00
parent 218675e479
commit 4fead725cf

View File

@ -140,8 +140,7 @@ def execute(*cmd, **kwargs):
check_exit_code = [check_exit_code]
if kwargs:
raise UnknownArgumentError(_('Got unknown keyword args '
'to utils.execute: %r') % kwargs)
raise UnknownArgumentError(_('Got unknown keyword args: %r') % kwargs)
if run_as_root and hasattr(os, 'geteuid') and os.geteuid() != 0:
if not root_helper: