X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0a08ba4250b13d7804118703aa0acca6a1a1703c..09e8e10bd9c2e35ca5573c60763c1838b8242331:/apps/catalogue/models/image.py?ds=sidebyside diff --git a/apps/catalogue/models/image.py b/apps/catalogue/models/image.py index 797d27d5..558f4c1f 100755 --- a/apps/catalogue/models/image.py +++ b/apps/catalogue/models/image.py @@ -84,8 +84,8 @@ class Image(dvcs_models.Document): raise AssertionError(_('Invalid Dublin Core') + ': ' + str(e)) valid_about = self.correct_about() - assert (picture.picture_info.about == valid_about, - _("rdf:about is not") + " " + valid_about) + assert picture.picture_info.about == valid_about, \ + _("rdf:about is not") + " " + valid_about def accessible(self, request): return self.public or request.user.is_authenticated()