Project

Profile

Help

Refactor #3352

closed

Make config.get_boolean return given default value

Added by mdellweg almost 7 years ago. Updated over 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.

Also available in: Atom PDF