Remove collections.abc backwards compatibility
The collections module moves some abstract classes into the abc submodules in py3. While we supported older versions of python, we needed to handle importing from either the old or new locations. Now that we only support runtimes that include the collections.abc module, we can remove the backwards compatibility handling we had for the old location. Change-Id: Idd106a8199fa586e0b34c054383d64218383c001 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
		@@ -50,11 +50,7 @@
 | 
			
		||||
 | 
			
		||||
"""CLI interface for cinder management."""
 | 
			
		||||
 | 
			
		||||
try:
 | 
			
		||||
    import collections.abc as collections
 | 
			
		||||
except ImportError:
 | 
			
		||||
    import collections
 | 
			
		||||
 | 
			
		||||
import collections.abc as collections
 | 
			
		||||
import logging as python_logging
 | 
			
		||||
import sys
 | 
			
		||||
import time
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user