code: def BuildReportLine(key, value, offset=None):
      
      reportline = "# " + key.ljust(20) + " : "
  
      if offset is None:
          return reportline + str(value)
  
      try:
          try:
              v=int(value)
              return reportline + "%*s" % (offset, str(value))
          except:
              pass
          v = float(value)
          return reportline + "%*s" % (offset - 1 + len(str(value)), str(value))
      except:
          return reportline + "%*s" % (offset - 1 + len(value), value)
docs: Prepare key/value for reporting in configuration report
  
      :param key: configuration 'keyword'
      :param value: value reported to be associated with keyword
  
      :return: formatted line starting with a comment