summaryrefslogtreecommitdiff
path: root/neutronclient/v2_0
diff options
context:
space:
mode:
authorChristian Berendt <berendt@b1-systems.de>2014-06-27 13:52:46 +0200
committerChristian Berendt <berendt@b1-systems.de>2014-06-27 13:55:20 +0200
commit2e6f2381991bc9c3e91bf5d46f8be40ebc7a85b0 (patch)
treee4a42c2bd88cc834b779a9bfb98e9847e8cb6e5a /neutronclient/v2_0
parent3a25ff3b3d35df38e00fcad4c12e3df06d69985a (diff)
downloadpython-neutronclient-2e6f2381991bc9c3e91bf5d46f8be40ebc7a85b0.tar.gz
Changed 'xml' to 'XML'
Like Lana Brindley mentioned in https://review.openstack.org/#/c/102900/ 'xml' should be 'XML' instead. Change-Id: If500ec9325eff98d58810b69c6fc84211e20638a
Diffstat (limited to 'neutronclient/v2_0')
-rw-r--r--neutronclient/v2_0/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/neutronclient/v2_0/client.py b/neutronclient/v2_0/client.py
index 65d1816..60070de 100644
--- a/neutronclient/v2_0/client.py
+++ b/neutronclient/v2_0/client.py
@@ -1257,7 +1257,7 @@ class Client(object):
return response.status_code
def serialize(self, data):
- """Serializes a dictionary into either xml or json.
+ """Serializes a dictionary into either XML or json.
A dictionary with a single key can be passed and
it can contain any structure.
@@ -1272,7 +1272,7 @@ class Client(object):
type(data))
def deserialize(self, data, status_code):
- """Deserializes an xml or json string into a dictionary."""
+ """Deserializes an XML or json string into a dictionary."""
if status_code == 204:
return data
return serializer.Serializer(self.get_attr_metadata()).deserialize(