diff MoinMoin/action/AttachFile.py @ 373:d9028858980d

Repaired zipping, a very small typo broke it. imported from: moin--main--1.5--patch-377
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Thu, 12 Jan 2006 21:10:47 +0000
parents 8155e50e94ca
children 6f8d4ca0ef6e
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Wed Jan 11 21:01:28 2006 +0000
+++ b/MoinMoin/action/AttachFile.py	Thu Jan 12 21:10:47 2006 +0000
@@ -729,7 +729,7 @@
                                   available_attachments_file_count) }
             else:
                 valid_name = False
-                for (oirgname, finalname) in namelist.iteritems():
+                for (origname, finalname) in namelist.iteritems():
                     if valid_pathname(finalname):
                         zi = zf.getinfo(origname)
                         if zi.file_size < single_file_size: