class ParseError(Exception):
def __str__(self):
""" Dirty workaround for Python Unicode handling problems. """
- return self.message.message
+ return self.message
def __unicode__(self):
""" Dirty workaround for Python Unicode handling problems. """
- return self.message.message
+ return self.message
class ValidationError(Exception):
pass
DCNS('subject.type'): [u'Unknown'],
DCNS('subject.genre'): [u'Unknown'],
DCNS('date'): ['1970-01-01'],
+ DCNS('language'): [u'pol'],
# DCNS('date'): [creation_date],
DCNS('publisher'): [u"Fundacja Nowoczesna Polska"],
DCNS('description'):