marrow / mailer

A light-weight, modular, message representation and mail delivery framework for Python.
MIT License
278 stars 62 forks source link

import error #1

Closed roamin9 closed 13 years ago

roamin9 commented 13 years ago

hi, when i use '''from marrow.mailer import Message, Delivery''' in ipython, i got this error:

ImportError: cannot import name basestring

it looks like '''from marrow.util.compat import basestring, unicode, unicodestr, native''' in marrow/mailer/address.py, but marrow/util/compat.py not include basestring and unicodestr

so, it's error...

amcgregor commented 13 years ago

Indeed, thank you for reporting this. I will need to make a release of marrow.util, which has been updated in Git to contain these additional compatibility features. I will do so today.

roamin9 commented 13 years ago

good luck ;)

agronholm commented 13 years ago

marrow.util v1.2.0 has been released which fixes this.