Browse files

Issue LIBCLOUD-459: Support region without zone in GCE.

Patch by Charles Walker <charles dot walker dot 37 at gmail dot com>.

Signed-off-by: Tomaz Muraus <>
  • Loading branch information...
Ubuntu authored and Kami committed Dec 11, 2013
1 parent 043c81c commit 7a04971288791a02c1c335f9d36da2f90d892b5b
Showing with 1 addition and 1 deletion.
  1. +1 −1 libcloud/compute/drivers/
@@ -2603,7 +2603,7 @@ def _to_region(self, region):
extra['description'] = region['description']
quotas = region.get('quotas')
zones = [self.ex_get_zone(z) for z in region['zones']]
zones = [self.ex_get_zone(z) for z in region.get('zones', [])]
# Work around a bug that will occasionally list missing zones in the
# region output
zones = [z for z in zones if z is not None]

0 comments on commit 7a04971

Please sign in to comment.