Compacted SQLite query

This commit is contained in:
Sven Slootweg 2012-05-27 13:40:06 +02:00
parent ae61f98ab5
commit b05043b7f9

3
render
View file

@ -39,8 +39,7 @@ try:
except OSError:
pass
for message in cursor.execute("SELECT * FROM emails"):
message_id, sender, recipient, subject, timestamp, textbody, htmlbody, sha1_hash = message
for message_id, sender, recipient, subject, timestamp, textbody, htmlbody, sha1_hash in cursor.execute("SELECT * FROM emails"):
versions = {}