changeset 5345:d5d4665013b2

xmlrpc.xmlrpc_putAttachment: fixed bug of too verbose log message (MoinMoinBugs/xmrpc_put_attachment_TooVerbose)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 04 Dec 2009 17:06:10 +0100
parents f1bdc5673b33
children b2cf6e04d5aa
files MoinMoin/xmlrpc/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py	Fri Dec 04 16:52:18 2009 +0100
+++ b/MoinMoin/xmlrpc/__init__.py	Fri Dec 04 17:06:10 2009 +0100
@@ -991,7 +991,7 @@
         if os.path.exists(filename) and not os.path.isfile(filename):
             return self.noSuchPageFault()
         open(filename, 'wb+').write(data.data)
-        AttachFile._addLogEntry(self.request, 'ATTNEW', pagename, filename)
+        AttachFile._addLogEntry(self.request, 'ATTNEW', pagename, attachname)
         return xmlrpclib.Boolean(1)
 
     # XXX END WARNING XXX