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

DM-13096: Add method to check whether values read from metadata are valid. #78

Merged
merged 2 commits into from Dec 28, 2017

Conversation

isullivan
Copy link
Contributor

The new method is used to validate values read from the metadata in obs packages.

retVal = defaultValue
else:
if minimum is not None:
if value < minimum:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggest combining two if statements into a single one joined by and.

@isullivan isullivan merged commit 4a17216 into master Dec 28, 2017
@timj timj deleted the tickets/DM-13096 branch June 25, 2020 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants