fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add swappable CSS for HTML previews.
[librarian.git]
/
librarian
/
dcparser.py
diff --git
a/librarian/dcparser.py
b/librarian/dcparser.py
index
85f3028
..
92afc01
100644
(file)
--- 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