fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filter empty admin emails
[wolnelektury.git]
/
apps
/
oai
/
handlers.py
diff --git
a/apps/oai/handlers.py
b/apps/oai/handlers.py
index
d098a64
..
70e78c5
100644
(file)
--- a/
apps/oai/handlers.py
+++ b/
apps/oai/handlers.py
@@
-59,7
+59,7
@@
class Catalogue(common.ResumptionOAIPMH):
earliest_change or earliest_delete
# admins
earliest_change or earliest_delete
# admins
- self.admin_emails = [u.email for u in User.objects.filter(is_superuser=True)]
+ self.admin_emails = [u.email for u in User.objects.filter(is_superuser=True)
.exclude(email__exact=u'')
]
def metadata(self, book):
xml = etree.parse(book.xml_file)
def metadata(self, book):
xml = etree.parse(book.xml_file)