pylint fixes for cloudstack module

This commit is contained in:
Thomas S Hatch 2013-11-08 20:29:39 -07:00
parent ce8aaad47f
commit cbb3ce7b13

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
'''
CloudStack Cloud Module
=======================
@ -178,7 +179,7 @@ def get_ip(data):
'''
try:
ip = data.public_ips[0]
except:
except Exception:
ip = data.private_ips[0]
return ip