File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5555	'.rst' : 'restructuredtext' ,
5656}
5757
58- # The encoding of source files. Official sphinx docs reccomend  utf-8-sig. 
58+ # The encoding of source files. Official sphinx docs recommend  utf-8-sig. 
5959source_encoding  =  'utf-8-sig' 
6060
6161# The master toctree document. 
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ def useTool(tool, *arguments):
102102		try :
103103			TASK_OPTIONS [tool ](arguments )
104104		except  Exception :
105- 			w  =  str ("WARNING - An error occured  while" )
105+ 			w  =  str ("WARNING - An error occurred  while" )
106106			w  +=  str ("handling the tool. Abort." )
107107			print (w )
108108	else :
@@ -117,13 +117,13 @@ def main(*argv):
117117			service_cmd  =  args .some_task 
118118			useTool (service_cmd , extra )
119119		except  Exception :
120- 			w  =  str ("WARNING - An error occured  while" )
120+ 			w  =  str ("WARNING - An error occurred  while" )
121121			w  +=  str ("handling the arguments." )
122122			w  +=  str (" Cascading failure." )
123123			print (w )
124124			sys .exit (2 )
125125	except  Exception :
126- 		e  =  str ("CRITICAL - An error occured  while handling" )
126+ 		e  =  str ("CRITICAL - An error occurred  while handling" )
127127		e  +=  str ("the cascading failure." )
128128		print (e )
129129		sys .exit (3 )
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ def checkPythonErrors(args=None, stderr=None):
113113		taintArgs  =  buildPythonCommand (args )
114114		theOutput  =  subprocess .check_output (taintArgs , stderr = stderr )
115115		if  isinstance (theOutput , bytes ):
116- 			# default to utf8 your milage  may vary 
116+ 			# default to utf8 your mileage  may vary 
117117			theOutput  =  theOutput .decode ('utf8' )
118118	except  Exception  as  err :
119119		theOutput  =  None 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments