Cleanup and gate on pep8 rules that are stricter in hacking 0.9
Fix up pep8 failures for rules we previously gated on, but that are now stricter in there enforcement. Ignore E251 due to https://github.com/jcrocholl/pep8/issues/301 Change-Id: I62b33e97c44c4a5be436b381cfbdaeb31cd2638b
This commit is contained in:
		@@ -214,8 +214,8 @@ class BlockDeviceDict(dict):
 | 
			
		||||
            legacy_block_device['virtual_name'] = None
 | 
			
		||||
        elif source_type == 'image':
 | 
			
		||||
            if destination_type != 'volume':
 | 
			
		||||
            # NOTE(ndipanov): Image bdms with local destination
 | 
			
		||||
            # have no meaning in the legacy format - raise
 | 
			
		||||
                # NOTE(ndipanov): Image bdms with local destination
 | 
			
		||||
                # have no meaning in the legacy format - raise
 | 
			
		||||
                raise exception.InvalidBDMForLegacy()
 | 
			
		||||
            legacy_block_device['virtual_name'] = None
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user