Project

Profile

Help

Refactor #3352

closed

Make config.get_boolean return given default value

Added by mdellweg about 6 years ago. Updated almost 4 years ago.

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 about 6 years ago

Revision 8b6b11e4 | View on GitHub

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

Actions #1

Updated by mdellweg about 6 years ago

  • Status changed from NEW to MODIFIED
  • % Done changed from 0 to 100
Actions #2

Updated by ttereshc about 6 years ago

  • Platform Release set to 2.16.0
Actions #3

Updated by bmbouter about 6 years ago

  • Status changed from MODIFIED to 5
Actions #4

Updated by bmbouter about 6 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #5

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added
Actions #6

Updated by bmbouter almost 4 years ago

  • Category deleted (14)

We are removing the 'API' category per open floor discussion June 16, 2020.

Also available in: Atom PDF