X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/91c9f19d364833cb4fc15aef518158bb4ef47136..a2b90373ee7aa46769fb6faad75bac1ebef3758f:/librarian/dcparser.py diff --git a/librarian/dcparser.py b/librarian/dcparser.py index 85f3028..92afc01 100644 --- a/librarian/dcparser.py +++ b/librarian/dcparser.py @@ -297,7 +297,7 @@ class WorkInfo(six.with_metaclass(DCInfo, object)): desc = rdf_tag.find(".//" + RDFNS('Description')) if desc is None: - raise NoDublinCore("No DublinCore section found.") + raise NoDublinCore("There must be a '%s' element inside the RDF." % RDFNS('Description')) lang = None p = desc