Document more specific dependency for humbug API on python-requests
(imported from commit fbdc092029bbafea716e27fbb99fec58a6f24392)
This commit is contained in:
		
							parent
							
								
									f2f4a2f8bd
								
							
						
					
					
						commit
						d6ec614ca6
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -34,7 +34,9 @@ from ConfigParser import SafeConfigParser
 | 
			
		|||
 | 
			
		||||
# Check that we have a recent enough version
 | 
			
		||||
# Older versions don't provide the 'json' attribute on responses.
 | 
			
		||||
assert(requests.__version__ > '0.12')
 | 
			
		||||
assert(requests.__version__ > '0.12.1')
 | 
			
		||||
# And versions in the 1.x series aren't backwards compatible
 | 
			
		||||
assert(requests.__version__ < '1.0.0')
 | 
			
		||||
API_VERSTRING = "/api/v1/"
 | 
			
		||||
 | 
			
		||||
def generate_option_group(parser):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue