diff options
| author | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2011-11-01 15:31:30 +0000 |
|---|---|---|
| committer | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2011-11-01 16:47:25 +0000 |
| commit | af5ee6855b17acca3ec182650a26c3d2d33bcad9 (patch) | |
| tree | e5cbc024fb7493c46aa3841af71910af8823f032 | |
| parent | 79ae282de89ec534807cb153960db4bccc75e06c (diff) | |
Fix KeyError when passed unknown format of time
Fixes bug 883253
ISO_FORMATS should be iso_formats
Change-Id: I3cd122176b72c84570d6b24315526540f8f860b9
| -rw-r--r-- | nova/image/glance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/image/glance.py b/nova/image/glance.py index c9ce946b8..9eea8eb4c 100644 --- a/nova/image/glance.py +++ b/nova/image/glance.py @@ -396,7 +396,7 @@ def _parse_glance_iso8601_timestamp(timestamp): pass raise ValueError(_('%(timestamp)s does not follow any of the ' - 'signatures: %(ISO_FORMATS)s') % locals()) + 'signatures: %(iso_formats)s') % locals()) # TODO(yamahata): use block-device-mapping extension to glance |
