original_docstring: 
    Configure import exception log, which is an Excel spreadsheet in the same 
    format as the input format, but with an extra column added - "Error",
    which contains the error message.
    
    Can only be called after first row of input Excel spreadsheet is read
    to initialize the global, "headers"
    
docstring: Configure import exception log, which is an Excel spreadsheet in the same
  format as the input format, but with an extra column added - "Error",
  which contains the error message.
  
  Can only be called after first row of input Excel spreadsheet is read
  to initialize the global, "headers"
docstring_tokens: Configure import exception log which is an Excel spreadsheet in the same format as the input format but with an extra column added - " Error " which contains the error message . Can only be called after first row of input Excel spreadsheet is read to initialize the global " headers "
code: def configErrorReporting(headers):
    """
    Configure import exception log, which is an Excel spreadsheet in the same 
    format as the input format, but with an extra column added - "Error",
    which contains the error message.
    
    Can only be called after first row of input Excel spreadsheet is read
    to initialize the global, "headers"
    """
    dateFmt = easyxf(
      'font: name Arial, bold True, height 200;',
      #'borders: left thick, right thick, top thick, bottom thick;',
       num_format_str='MM-DD-YYYY'
    )
    
    headerFmt = easyxf(
      'font: name Arial, bold True, height 200;',
    )
    global errorsWorkbook, erroutSheet, erroutRow
    errorsWorkbook = Workbook()
    erroutSheet = errorsWorkbook.add_sheet('Import Errors')
  
    for colnum in range(0, len(headers)):
      erroutSheet.write(0, colnum, headers[colnum][0], 
      tern(headers[colnum][0]==xlrd.XL_CELL_DATE, dateFmt, headerFmt))
     
    # Add extra column for error message
    erroutSheet.write(0, len(headers), "Error", headerFmt)
    erroutSheet.flush_row_data()
    erroutRow = 1
    errorsWorkbook.save('errors.xls')
code_tokens: def configErrorReporting ( headers ) : dateFmt = easyxf ( 'font: name Arial, bold True, height 200;' , num_format_str = 'MM-DD-YYYY' ) headerFmt = easyxf ( 'font: name Arial, bold True, height 200;' , ) global errorsWorkbook , erroutSheet , erroutRow errorsWorkbook = Workbook ( ) erroutSheet = errorsWorkbook . add_sheet ( 'Import Errors' ) for colnum in range ( 0 , len ( headers ) ) : erroutSheet . write ( 0 , colnum , headers [ colnum ] [ 0 ] , tern ( headers [ colnum ] [ 0 ] == xlrd . XL_CELL_DATE , dateFmt , headerFmt ) ) erroutSheet . write ( 0 , len ( headers ) , "Error" , headerFmt ) erroutSheet . flush_row_data ( ) erroutRow = 1 errorsWorkbook . save ( 'errors.xls' )
short_docstring: Configure import exception log, which is an Excel spreadsheet in the same
  format as the input format, but with an extra column added - "Error",
  which contains the error message.
short_docstring_tokens: Configure import exception log which is an Excel spreadsheet in the same format as the input format but with an extra column added - " Error " which contains the error message .
comment: """
    Configure import exception log, which is an Excel spreadsheet in the same 
    format as the input format, but with an extra column added - "Error",
    which contains the error message.
    
    Can only be called after first row of input Excel spreadsheet is read
    to initialize the global, "headers"
    """$SEP$#'borders: left thick, right thick, top thick, bottom thick;',$SEP$# Add extra column for error message