From: Marcin Koziej Date: Mon, 5 Dec 2011 13:22:22 +0000 (+0100) Subject: Merge branch 'pdf' X-Git-Tag: 1.7~189 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/d7ba2c607dacf7a6136b83a1588b5adf2278ad46?ds=sidebyside;hp=-c Merge branch 'pdf' --- d7ba2c607dacf7a6136b83a1588b5adf2278ad46 diff --combined librarian/__init__.py index 619650d,a672486..8f5cf1a --- a/librarian/__init__.py +++ b/librarian/__init__.py @@@ -8,11 -8,11 +8,11 @@@ import o 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 @@@ -93,7 -93,6 +93,7 @@@ DEFAULT_BOOKINFO = dcparser.BookInfo 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'):