Actions
Refactor #3352
closedMake config.get_boolean return given default value
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.16.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
Returning a default value (presumably a boolean) in case the configuration option is not set, helps to implement opt-in / opt-out options that should be false / true, unless explicitly set otherwise.
Added by mdellweg almost 7 years ago
Updated by mdellweg almost 7 years ago
- Status changed from NEW to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|8b6b11e45a72fffb56e7482a1d91fa4dbae698e1.
Updated by bmbouter over 6 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Updated by bmbouter over 4 years ago
- Category deleted (
14)
We are removing the 'API' category per open floor discussion June 16, 2020.
Actions
Make config.get_boolean return given default value
Returning a default value (presumably a boolean) in case the configuration option is not set, helps to implement opt-in / opt-out options that should be false / true, unless explicitly set otherwise.
closes #3352 https://pulp.plan.io/issues/3352