spacepaste

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