From 4fead725cf619f7f4aaf7a459335f7a75f728435 Mon Sep 17 00:00:00 2001 From: vponomaryov Date: Tue, 8 Jul 2014 16:38:12 +0300 Subject: [PATCH] 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 --- openstack/common/processutils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openstack/common/processutils.py b/openstack/common/processutils.py index 8a2a53b..846d8cb 100644 --- a/openstack/common/processutils.py +++ b/openstack/common/processutils.py @@ -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: