Bug 915462 - [RFE] Refactor config.get_boolean to raise ValueError when it can't parse a boolean from its input
Summary: [RFE] Refactor config.get_boolean to raise ValueError when it can't parse a b...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: Master
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-25 20:03 UTC by Randy Barlow
Modified: 2015-02-28 23:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-19 01:03:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 176 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.