summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-05-30 03:34:13 +0000
committerGerrit Code Review <review@openstack.org>2014-05-30 03:34:13 +0000
commitb9a29aebbca6babfc873647a7ac89940b753cf49 (patch)
tree6601b5c20c9814260f74ebbe204b7764c7610fc2
parent99382fa72f817724cf81f7efcd1279b7983db96b (diff)
parenta0d7ef8c2c53f99bb799e35be1e62a54892e265a (diff)
downloadpython-barbicanclient-b9a29aebbca6babfc873647a7ac89940b753cf49.tar.gz
Merge "debug level logs should not be translated"
-rw-r--r--barbicanclient/client.py2
-rw-r--r--barbicanclient/orders.py6
-rw-r--r--barbicanclient/verifications.py8
3 files changed, 8 insertions, 8 deletions
diff --git a/barbicanclient/client.py b/barbicanclient/client.py
index 73561bb..2d7bc52 100644
--- a/barbicanclient/client.py
+++ b/barbicanclient/client.py
@@ -64,7 +64,7 @@ class Client(object):
Required when not using auth_plugin. When not provided,
the client will try to get this from the auth_plugin.
"""
- LOG.debug(_("Creating Client object"))
+ LOG.debug("Creating Client object")
self._session = session or requests.Session()
self.verify = not insecure
diff --git a/barbicanclient/orders.py b/barbicanclient/orders.py
index 7b2f3e3..e2dc01f 100644
--- a/barbicanclient/orders.py
+++ b/barbicanclient/orders.py
@@ -83,7 +83,7 @@ class OrderManager(base.BaseEntityManager):
format
:returns: Order href for the created order
"""
- LOG.debug(_("Creating order"))
+ LOG.debug("Creating order")
order_dict = {'secret': {}}
order_dict['secret']['name'] = name
@@ -95,7 +95,7 @@ class OrderManager(base.BaseEntityManager):
order_dict['secret']['expiration'] = expiration
self._remove_empty_keys(order_dict['secret'])
- LOG.debug(_("Request body: {0}").format(order_dict['secret']))
+ LOG.debug("Request body: {0}".format(order_dict['secret']))
resp = self.api.post(self.entity, order_dict)
return resp['order_ref']
@@ -106,7 +106,7 @@ class OrderManager(base.BaseEntityManager):
:param order_ref: The href for the order
"""
- LOG.debug(_("Getting order - Order href: {0}").format(order_ref))
+ LOG.debug("Getting order - Order href: {0}".format(order_ref))
if not order_ref:
raise ValueError('order_ref is required.')
resp = self.api.get(order_ref)
diff --git a/barbicanclient/verifications.py b/barbicanclient/verifications.py
index fa1f371..19ee7f1 100644
--- a/barbicanclient/verifications.py
+++ b/barbicanclient/verifications.py
@@ -94,7 +94,7 @@ class VerificationManager(base.BaseEntityManager):
: with resource can be impersonated
:returns: Verification href for the created verification
"""
- LOG.debug(_("Creating verification"))
+ LOG.debug("Creating verification")
verif_dict = {'resource_type': resource_type,
'resource_ref': resource_ref,
@@ -102,7 +102,7 @@ class VerificationManager(base.BaseEntityManager):
'impersonation_allowed': impersonation_allowed}
self._remove_empty_keys(verif_dict)
- LOG.debug(_("Request body: {0}").format(verif_dict))
+ LOG.debug("Request body: {0}".format(verif_dict))
resp = self.api.post(self.entity, verif_dict)
return resp['verification_ref']
@@ -113,8 +113,8 @@ class VerificationManager(base.BaseEntityManager):
:param verification_ref: The href for the verification instance
"""
- LOG.debug(_("Getting verification - "
- "Verification href: {0}").format(verification_ref))
+ LOG.debug("Getting verification - "
+ "Verification href: {0}".format(verification_ref))
if not verification_ref:
raise ValueError('verif_ref is required.')
resp = self.api.get(verification_ref)