fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add missing constraint.
[wolnelektury.git]
/
src
/
oai
/
handlers.py
diff --git
a/src/oai/handlers.py
b/src/oai/handlers.py
index
54a0a20
..
d90a560
100644
(file)
--- a/
src/oai/handlers.py
+++ b/
src/oai/handlers.py
@@
-89,7
+89,7
@@
class Catalogue(common.ResumptionOAIPMH):
md = wl_dc_reader(xml)
m = md.getMap()
if book.parent:
- m['isPartOf'] = [str(WLURI
.from_slug
(book.parent.slug))]
+ m['isPartOf'] = [str(WLURI(book.parent.slug))]
return m
def record_for_book(self, book, headers_only=False):