@@ -196,11 +196,11 @@ def _newname(template="Thread-{}"):
196196
197197
198198FRAMES = {
199- 'arrow' : ['^' , '>' , 'v' , '<' ],
199+ 'arrow' : ['^' , '>' , 'v' , '<' ],
200200 'dots' : ['...' , 'o..' , '.o.' , '..o' ],
201201 'ligatures' : ['bq' , 'dp' , 'qb' , 'pd' ],
202202 'lines' : [' ' , '-' , '=' , '#' , '=' , '-' ],
203- 'slash' : ['-' , '\\ ' , '|' , '/' ],
203+ 'slash' : ['-' , '\\ ' , '|' , '/' ],
204204}
205205
206206
@@ -1730,13 +1730,13 @@ def providers_discover(self, args): # noqa
17301730 for provider , name , field in provider_data :
17311731 creds = get_provider_creds (provider )
17321732 if creds :
1733- print ("Found {} credentials: {}" .format (name , creds [field ]))
1734- inp = raw_input (' Import these credentials? (y/n) : ' )
1733+ print ("Discovered {} credentials: {}" .format (name , creds [field ]))
1734+ inp = raw_input (" Import {} credentials? (y/n) : " . format ( name ) )
17351735 if inp .lower ().strip ('\n ' ) != 'y' :
17361736 print ('Aborting.' )
17371737 else :
17381738 body = {'creds' : json .dumps (creds )}
1739- sys .stdout .write ("Uploading {} credentials... " .format (provider ))
1739+ sys .stdout .write ("Uploading {} credentials... " .format (name ))
17401740 sys .stdout .flush ()
17411741 endpoint = "/api/providers/{}" .format (provider )
17421742 response = self ._dispatch ('patch' , endpoint , json .dumps (body ))
@@ -1745,7 +1745,7 @@ def providers_discover(self, args): # noqa
17451745 else :
17461746 raise ResponseError (response )
17471747 else :
1748- print ("No {} credentials discovered." .format (provider ))
1748+ print ("No {} credentials discovered." .format (name ))
17491749
17501750 # Check for locally booted Deis Controller VM
17511751 try :
@@ -1759,7 +1759,7 @@ def providers_discover(self, args): # noqa
17591759 # resides, eg; my-deis-code-folder_default_1383326629
17601760 deis_codebase_folder = self ._session .git_root ().split ('/' )[- 1 ]
17611761 if deis_codebase_folder in running_vms :
1762- print ("Detected locally running Deis Controller VM" )
1762+ print ("Discovered locally running Deis Controller VM" )
17631763 # In order for the Controller to be able to boot Vagrant VMs it needs to run commands
17641764 # on the host machine. It does this via an SSH server. In order to access that server
17651765 # we need to send the current user's name and host.
@@ -1792,7 +1792,7 @@ def providers_discover(self, args): # noqa
17921792 else :
17931793 raise ResponseError (response )
17941794 else :
1795- print ("No Vagrant VMs detected " )
1795+ print ("No Vagrant VMs discovered. " )
17961796
17971797 def providers_info (self , args ):
17981798 """
0 commit comments