summaryrefslogtreecommitdiff
path: root/ironic_python_agent/utils.py
diff options
context:
space:
mode:
authorSergey Vilgelm <sergey@vilgelm.info>2015-08-01 11:50:58 +0300
committerSergey Vilgelm <sergey@vilgelm.info>2015-08-03 18:39:13 +0300
commitd5b7eb08719a6af01f2b9e9546607ebbe9a74663 (patch)
tree7fdf562f97b38a271f5f02da4683c3374809df39 /ironic_python_agent/utils.py
parentae8538b6e53cd754ba0a169785fde649edfc57ec (diff)
downloadironic-python-agent-d5b7eb08719a6af01f2b9e9546607ebbe9a74663.tar.gz
Remove openstack.common package
ironic_python_agent contains unused oslo-incubator modules, so let's remove them. Change-Id: I2b8f84bf8a68d155fe123487f9b5624bb94e806b
Diffstat (limited to 'ironic_python_agent/utils.py')
-rw-r--r--ironic_python_agent/utils.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/ironic_python_agent/utils.py b/ironic_python_agent/utils.py
index 04854e15..e85f25c0 100644
--- a/ironic_python_agent/utils.py
+++ b/ironic_python_agent/utils.py
@@ -24,7 +24,6 @@ from oslo_log import log as logging
from six.moves.urllib import parse
from ironic_python_agent import errors
-from ironic_python_agent.openstack.common import _i18n as gtu
LOG = logging.getLogger(__name__)
@@ -59,10 +58,9 @@ def get_ordereddict(*args, **kwargs):
def execute(*cmd, **kwargs):
"""Convenience wrapper around oslo's execute() method."""
result = processutils.execute(*cmd, **kwargs)
- LOG.debug(gtu._('Execution completed, command line is "%s"'),
- ' '.join(cmd))
- LOG.debug(gtu._('Command stdout is: "%s"') % result[0])
- LOG.debug(gtu._('Command stderr is: "%s"') % result[1])
+ LOG.debug('Execution completed, command line is "%s"', ' '.join(cmd))
+ LOG.debug('Command stdout is: "%s"', result[0])
+ LOG.debug('Command stderr is: "%s"', result[1])
return result