ordereddict fix for python 2.6
This commit is contained in:
		
							parent
							
								
									2829c326ef
								
							
						
					
					
						commit
						5343a81dc8
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -26,7 +26,10 @@
 | 
			
		|||
``edbob.pyramid.grids`` -- Grid Tables
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
from collections import OrderedDict
 | 
			
		||||
try:
 | 
			
		||||
    from collections import OrderedDict
 | 
			
		||||
except ImportError:
 | 
			
		||||
    from ordereddict import OrderedDict
 | 
			
		||||
 | 
			
		||||
from sqlalchemy.orm import Query
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								setup.py
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -83,6 +83,7 @@ if sys.version_info < (2, 7):
 | 
			
		|||
        # package                       # low                   high
 | 
			
		||||
 | 
			
		||||
        'argparse',                     # 1.2.1
 | 
			
		||||
        'ordereddict',                  # 1.1
 | 
			
		||||
        ]
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue