fnp
/
librarian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f62bd3
)
add genre to picture_info
author
Marcin Koziej
<marcin@lolownia.org>
Tue, 12 Nov 2013 17:07:24 +0000
(18:07 +0100)
committer
Marcin Koziej
<marcin@lolownia.org>
Tue, 12 Nov 2013 17:07:53 +0000
(18:07 +0100)
librarian/picture.py
patch
|
blob
|
history
diff --git
a/librarian/picture.py
b/librarian/picture.py
index
ee3c61d
..
32ffe09
100644
(file)
--- a/
librarian/picture.py
+++ b/
librarian/picture.py
@@
-30,6
+30,7
@@
class PictureInfo(WorkInfo):
Field(DCNS('language'), 'language', required=False),
Field(DCNS('subject.period'), 'epochs', salias='epoch', multiple=True),
Field(DCNS('subject.type'), 'kinds', salias='kind', multiple=True),
+ Field(DCNS('subject.genre'), 'genres', salias='genre', multiple=True, required=False),
Field(DCNS('format.dimensions'), 'dimensions', required=False),
Field(DCNS('format.checksum.sha1'), 'sha1', required=True),