spacepaste

  1.  
  2. for column, data in row.items():
  3. for c in data[::2]:
  4. if c > '7':
  5. break
  6. else:
  7. field_bytes = binascii.unhexlify(data)
  8. try:
  9. field_bytes.decode("utf-8")
  10. if not has_pri_key:
  11. log_keyless_table(database, table)
  12. raise ValueError
  13. found_mojibake[database][table][rm_hex_wrap(column)]["rows_found"] += 1
  14. except UnicodeDecodeError:
  15. pass
  16.