diff options
| author | William Wolf <throughnothing@gmail.com> | 2011-07-27 18:07:01 -0400 |
|---|---|---|
| committer | William Wolf <throughnothing@gmail.com> | 2011-07-27 18:07:01 -0400 |
| commit | 03aac3ffd546ab1528b73ee36c8632f30ed8af2f (patch) | |
| tree | c10d5e53e84e04f8171edbb288ea0428567c7283 | |
| parent | 634702e9a6813b8793a82ddd87d24690b05ffc1e (diff) | |
use ATOM_XMLNS everywhere
| -rw-r--r-- | nova/api/openstack/versions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/versions.py b/nova/api/openstack/versions.py index 928cf467a..95681b788 100644 --- a/nova/api/openstack/versions.py +++ b/nova/api/openstack/versions.py @@ -207,7 +207,7 @@ class VersionsXMLSerializer(wsgi.XMLDictSerializer): version_node = self._xml_doc.createElement('version') if create_ns: xmlns = OS_XMLNS_BASE - xmlns_atom = "http://www.w3.org/2005/Atom" + xmlns_atom = ATOM_XMLNS version_node.setAttribute('xmlns', xmlns) version_node.setAttribute('xmlns:atom', xmlns_atom) |
