Use 'Python API' as the API client string
(imported from commit 5c1f8a9c089aaed1c82729f81819b8373d796c2a)
This commit is contained in:
		
							parent
							
								
									915ba0146e
								
							
						
					
					
						commit
						da880d1015
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -69,7 +69,7 @@ def init_from_options(options):
 | 
			
		|||
class Client(object):
 | 
			
		||||
    def __init__(self, email=None, api_key=None, config_file=None,
 | 
			
		||||
                 verbose=False, retry_on_errors=True,
 | 
			
		||||
                 site=None, client="API"):
 | 
			
		||||
                 site=None, client="Python API"):
 | 
			
		||||
        if None in (api_key, email):
 | 
			
		||||
            if config_file is None:
 | 
			
		||||
                config_file = os.path.join(os.environ["HOME"], ".humbugrc")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue