Fixing lint errors in gce driver

This commit is contained in:
Joseph Hall 2014-02-20 07:25:34 -07:00
parent 45ddfe501b
commit 50b5c08ccd

View File

@ -679,7 +679,6 @@ def create_fwrule(kwargs=None, call=None):
)
return False
name = kwargs['name']
network_name = kwargs.get('network', 'default')
allow = _parse_allow(kwargs['allow'])
@ -1348,7 +1347,7 @@ def create_disk(kwargs=None, call=None):
return False
if 'size' not in kwargs:
if ('image' not in kwargs and 'snapshot' not in kwargs):
if 'image' not in kwargs and 'snapshot' not in kwargs:
log.error(
'Must specify image, snapshot, or size.'
)