diff options
Diffstat (limited to 'contrib/inventory/gce.py')
-rwxr-xr-x | contrib/inventory/gce.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/inventory/gce.py b/contrib/inventory/gce.py index 740e112332..e420fd951b 100755 --- a/contrib/inventory/gce.py +++ b/contrib/inventory/gce.py @@ -237,7 +237,7 @@ class GceInventory(object): '''Gets details about a specific instance ''' try: return self.driver.ex_get_node(instance_name) - except Exception, e: + except Exception as e: return None def group_instances(self): |