try:
data = json.loads(content)
except ValueError:
- self.fail('No JSON could be decoded:', content)
+ self.fail('No JSON could be decoded: %s' % content)
return data
urllib.urlretrieve('%s/%s' % (remote_gallery_url, ilustr_src), ilustr_path)
def load_abstract(self):
- abstract = self.wldocument().edoc.getroot().find('.//abstrakt')
+ abstract = self.wldocument(parse_dublincore=False).edoc.getroot().find('.//abstrakt')
if abstract is not None:
self.abstract = transform_abstrakt(abstract)
else:
'lektura/a-book/motyw/theme/',
'motyw/theme/',
'autor/jane-doe/',
- 'autor/jane-doe/gatunek/genre/',
- 'autor/jane-doe/gatunek/genre/motyw/theme/',
+ # 'autor/jane-doe/gatunek/genre/',
+ # 'autor/jane-doe/gatunek/genre/motyw/theme/',
'b/%d/mini.pl.html' % self.book.pk,
'b/%d/mini_nolink.pl.html' % self.book.pk,
'b/%d/short.pl.html' % self.book.pk,