changeset 2687:701a36397035

macro.__init__.macro_MailTo: bug fixed result var is not initialized (found by Johannes Berg)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 19 Aug 2007 16:57:38 +0200
parents 248489d28118
children 98f7c5c64e91
files MoinMoin/macro/__init__.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/__init__.py	Thu Aug 16 11:08:32 2007 +0200
+++ b/MoinMoin/macro/__init__.py	Sun Aug 19 16:57:38 2007 +0200
@@ -364,6 +364,7 @@
         return self.formatter.anchordef(anchor)
 
     def macro_MailTo(self, email=unicode, text=u''):
+        result = ''
         if not email:
             raise ValueError("You need to give an (obfuscated) email address")