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

NMRL-328 & NMRL-326: Fix string formatting error in UIDReferenceField. #135

Merged
merged 2 commits into from
Jun 15, 2017

Conversation

rockfruit
Copy link
Contributor

Added some PEP8 and type hinting.

"Found values '\'{}\'' for singleValued field <{}>.{} - "
"using only the first value in the list.".format(
'\',\''.join(value), context.UID(), self.getName()))
value = value[1]
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't be value = value[0] instead?

@xispa xispa merged commit 24bbdfa into senaite:wip Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants