Mercurial > hg > MPIWGWeb
changeset 45:5c6ad316e1ce
prepare updating project extended publications.
author | casties |
---|---|
date | Mon, 29 Apr 2013 10:42:02 +0200 |
parents | 05754bca0114 |
children | f59bdd5f4890 |
files | MPIWGProjects.py |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/MPIWGProjects.py Sun Apr 28 19:12:49 2013 +0200 +++ b/MPIWGProjects.py Mon Apr 29 10:42:02 2013 +0200 @@ -2071,6 +2071,16 @@ logging.debug("updateAllProjects(%s): has definedFields!"%project.getId()) delattr(project, 'definedFields') + # + # update extended bibliography + # + if hasattr(project, 'publicationList'): + logging.debug("updateAllProjects(%s): has publicationList!"%project.getId()) + extpub = project.publicationList + if hasattr(extpub, 'connection_id'): + logging.debug("updateAllProjects(%s): extended publication %s has connection_id=%s!"%(project.getId(),extpub.getId(),extpub.connection_id)) + + return "updated %s projects!" % cnt