[Spambayes] Problem with __init__ .py in spambayes?

Colin J. Williams cjw at sympatico.ca
Fri Oct 27 04:33:15 CEST 2006


------------------------ spambayes.__init__.py -----------------
# package marker.

try:
    _
except NameError:
    _ = lambda arg: arg

__version__ = "1.1a3"
__date__ = _("August 2006")
--------------------------- exerciser ---------------------------------
# test.py
try:
  from spambayes import Stats
except:
  import sys
  print sys.exc_info
print 'Exception not detected'
-----------------------result of running exerciser ------------------
 >>>
[Dbg]>>>
Exception not detected

 >>>





More information about the SpamBayes mailing list