Bug 915462

Summary: [RFE] Refactor config.get_boolean to raise ValueError when it can't parse a boolean from its input
Product: [Retired] Pulp Reporter: Randy Barlow <rbarlow>
Component: z_otherAssignee: pulp-bugs
Status: CLOSED UPSTREAM QA Contact: Preethi Thomas <pthomas>
Severity: low Docs Contact:
Priority: low    
Version: MasterCC: cduryee, jason.dobies, mhrivnak
Target Milestone: ---Keywords: FutureFeature, Task, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-19 01:03:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Randy Barlow 2013-02-25 20:03:15 UTC
This method currently returns None when it cannot parse a boolean from its input. It would be more appropriate for it to raise ValueError.

Comment 1 Chris Duryee 2014-11-18 00:07:33 UTC
This is still the behavior as of 2.4.3.

Comment 2 Brian Bouterse 2015-02-19 01:03:52 UTC
Moved to https://pulp.plan.io/issues/176