diff options
| author | Naveed Massjouni <naveedm9@gmail.com> | 2011-05-22 03:16:16 -0400 |
|---|---|---|
| committer | Naveed Massjouni <naveedm9@gmail.com> | 2011-05-22 03:16:16 -0400 |
| commit | 58c18901ab27219248e64175f2745502499dc265 (patch) | |
| tree | c8a54c81f81b80bd7365407a85109ccc143d09b0 /nova/api | |
| parent | f1983479ae8d2483bdb73a494c9043f82928f189 (diff) | |
Removing utils.is_int()
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/views/servers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/views/servers.py b/nova/api/openstack/views/servers.py index 70a942594..0fe9dbe4a 100644 --- a/nova/api/openstack/views/servers.py +++ b/nova/api/openstack/views/servers.py @@ -132,7 +132,7 @@ class ViewBuilderV11(ViewBuilder): def _build_image(self, response, inst): if 'image_id' in dict(inst): image_id = inst['image_id'] - if utils.is_int(image_id): + if str(image_id).isdigit(): image_id = int(image_id) response['imageRef'] = image_id |
