diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2012-11-25 22:52:08 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2012-11-25 22:52:08 +0100 |
commit | 01a51fec825f589b6ba1de819e6dbf8da588d13e (patch) | |
tree | 1fcfb602208aea025988468be549046648230859 /kittystore | |
parent | 90d5909e1471f71a79dd57326fc2366397c30b14 (diff) | |
download | kittystore-01a51fec825f589b6ba1de819e6dbf8da588d13e.tar.gz kittystore-01a51fec825f589b6ba1de819e6dbf8da588d13e.tar.xz kittystore-01a51fec825f589b6ba1de819e6dbf8da588d13e.zip |
Fix a stupid import typo
Diffstat (limited to 'kittystore')
-rw-r--r-- | kittystore/import.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kittystore/import.py b/kittystore/import.py index 94015b6..18abdcc 100644 --- a/kittystore/import.py +++ b/kittystore/import.py @@ -155,11 +155,11 @@ class DbImporter(object): e.args[1].get("From"), e.args[1].get("Subject")) continue # And insert the attachments - for att, counter in enumerate(attachments): + for counter, att in enumerate(attachments): self.store.add_attachment( self.mlist.fqdn_listname, message["Message-Id"].strip(" <>"), - index, att[0], att[1], None, att[2]) + counter, att[0], att[1], None, att[2]) self.store.flush() cnt_imported += 1 |