Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document: Publisher format #371

Merged
merged 1 commit into from
Jul 2, 2019
Merged

document: Publisher format #371

merged 1 commit into from
Jul 2, 2019

Conversation

sebdeleze
Copy link

FIX Ignore empty publisher in dojson conversion.

Signed-off-by: Sébastien Délèze [email protected]

@sebdeleze
Copy link
Author

My proposition for ignoring empty publishers and so avoid {} in publishers array. I'm not sure if that works because I cannot setup the project locally..

return publishers

if publisher:
publishers.append(publisher)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think your are missing return something?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes of course, sorry..

Copy link

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you modify the commit message? I propose the following:

fixtures: fix dojson publishers field conversion

- FIX Ignores empty publisher in dojson conversion.
- FIX Fixes #367 

Thanks!

@iGormilhit iGormilhit closed this Jul 2, 2019
@sebdeleze sebdeleze reopened this Jul 2, 2019
@iGormilhit iGormilhit self-requested a review July 2, 2019 09:43
- FIX Ignores empty publisher in dojson conversion.
- FIX Fixes #367

Co-Authored-by: Sébastien Délèze <[email protected]>
@iGormilhit iGormilhit merged commit a0395ee into rero:master Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants