On ti, 2007-01-02 at 22:08 +0200, Jaakko Niemi wrote: > Package: enemies-of-carlotta > Version: 1.2.4 > Severity: important > > text = self.mime_encode_headers(text) File > "/usr/local/share/enemies-of-carlotta/eoc.py", line 554, in > mime_encode_headers warning("Cannot MIME encode header, using original > ones, sorry") NameError: global name 'warning' is not defined
Ugh, yeah. I thought I'd fixed that before releasing 1.2.3, but I can find no trace of the fix. Bleh. The workaround is to change the name of the function to "info", and that's the fix I added to my code base and released 1.2.5. -- Comedy evolution: survival of the wittiest -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]