fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Forgotten files.
[librarian.git]
/
src
/
librarian
/
elements
/
root
/
__init__.py
diff --git
a/src/librarian/elements/root/__init__.py
b/src/librarian/elements/root/__init__.py
index
a8cf82d
..
8e624bd
100644
(file)
--- a/
src/librarian/elements/root/__init__.py
+++ b/
src/librarian/elements/root/__init__.py
@@
-17,3
+17,9
@@
class Utwor(WLElement):
# This should not generally happen.
if self.getparent() is not None:
return self.getparent().meta
+
+ @property
+ def master(self):
+ for c in self:
+ if isinstance(c, Master):
+ return c