diff options
| author | Justin Santa Barbara <justin@fathomdb.com> | 2012-02-16 16:32:56 -0800 |
|---|---|---|
| committer | Justin Santa Barbara <justin@fathomdb.com> | 2012-02-16 16:40:42 -0800 |
| commit | 31d1a423761ac2d68d227559f4e3f424487333be (patch) | |
| tree | 3fe45872f87748c385314ea1f3a72cd322db86b5 | |
| parent | 844035b6c0f725c685cdff56a7bb77efe7825a5f (diff) | |
Normalize odd date formats
The 'updated' value on the extension seems to be returned (in the XML) unaltered.
Some of the date values were 'untraditional', and this broke XML parsing.
Change-Id: I2803e19207af85207b4eca71e1e8b0d5bdcfa4b6
4 files changed, 4 insertions, 4 deletions
diff --git a/nova/api/openstack/compute/contrib/disk_config.py b/nova/api/openstack/compute/contrib/disk_config.py index e338fa5ee..648fa389b 100644 --- a/nova/api/openstack/compute/contrib/disk_config.py +++ b/nova/api/openstack/compute/contrib/disk_config.py @@ -179,7 +179,7 @@ class Disk_config(extensions.ExtensionDescriptor): name = "DiskConfig" alias = ALIAS namespace = XMLNS_DCF - updated = "2011-09-27:00:00+00:00" + updated = "2011-09-27T00:00:00+00:00" def get_controller_extensions(self): servers_extension = extensions.ControllerExtension( diff --git a/nova/api/openstack/compute/contrib/floating_ip_dns.py b/nova/api/openstack/compute/contrib/floating_ip_dns.py index 8bdac54b1..66d960b39 100644 --- a/nova/api/openstack/compute/contrib/floating_ip_dns.py +++ b/nova/api/openstack/compute/contrib/floating_ip_dns.py @@ -293,7 +293,7 @@ class Floating_ip_dns(extensions.ExtensionDescriptor): name = "Floating_ip_dns" alias = "os-floating-ip-dns" namespace = "http://docs.openstack.org/ext/floating_ip_dns/api/v1.1" - updated = "2011-12-23:00:00+00:00" + updated = "2011-12-23T00:00:00+00:00" def __init__(self, ext_mgr): self.network_api = network.API() diff --git a/nova/api/openstack/compute/contrib/networks.py b/nova/api/openstack/compute/contrib/networks.py index 0735c9bb3..fc44d1b36 100644 --- a/nova/api/openstack/compute/contrib/networks.py +++ b/nova/api/openstack/compute/contrib/networks.py @@ -111,7 +111,7 @@ class Networks(extensions.ExtensionDescriptor): name = "Networks" alias = "os-networks" namespace = "http://docs.openstack.org/compute/ext/networks/api/v1.1" - updated = "2011-12-23 00:00:00" + updated = "2011-12-23T00:00:00+00:00" def get_resources(self): member_actions = {'action': 'POST'} diff --git a/nova/api/openstack/compute/contrib/server_start_stop.py b/nova/api/openstack/compute/contrib/server_start_stop.py index 5729a2b30..099e5fa02 100644 --- a/nova/api/openstack/compute/contrib/server_start_stop.py +++ b/nova/api/openstack/compute/contrib/server_start_stop.py @@ -63,7 +63,7 @@ class Server_start_stop(extensions.ExtensionDescriptor): name = "ServerStartStop" alias = "os-server-start-stop" namespace = "http://docs.openstack.org/compute/ext/servers/api/v1.1" - updated = "2012-01-23:00:00+00:00" + updated = "2012-01-23T00:00:00+00:00" def get_controller_extensions(self): controller = ServerStartStopActionController() |
