changeset 1798:cabab80d9597

AttachFile:merged with 1796:57f12932915f, EXIF:bug fixed in test/debug function
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 23 Feb 2007 21:26:11 +0100
parents 25c93ded258b
children e8a309cad6b7
files MoinMoin/action/AttachFile.py MoinMoin/filter/EXIF.py
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Fri Feb 23 21:01:33 2007 +0100
+++ b/MoinMoin/action/AttachFile.py	Fri Feb 23 21:26:11 2007 +0100
@@ -831,7 +831,7 @@
 
         request.emit_http_headers([
             'Content-Type: %s' % content_type,
-            'Last-Modified: %s' % timestamp, # TODO maybe add a short Expires: header here?
+            'Last-Modified: %s' % timestamp,
             'Content-Length: %d' % os.path.getsize(fpath),
             'Content-Disposition: %s; filename="%s"' % (content_dispo, filename_enc),
         ])
--- a/MoinMoin/filter/EXIF.py	Fri Feb 23 21:01:33 2007 +0100
+++ b/MoinMoin/filter/EXIF.py	Fri Feb 23 21:26:11 2007 +0100
@@ -1184,8 +1184,7 @@
             print
             continue
         print filename+':'
-        # data=process_file(file, 1) # with debug info
-        data = process_file(file, name, 0) # XXX undefined variable "name"
+        data = process_file(file, 1) # with debug info
         if not data:
             print 'No EXIF information found'
             continue