Project

Profile

Help

Story #176

closed

[RFE] Refactor config.get_boolean to raise ValueError when it can't parse a boolean from its input

Added by rbarlow almost 8 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #915462 ++

Description of problem:

This method currently returns None when it cannot parse a boolean from its input. It would be more appropriate for it to raise ValueError.

--- Additional comment from at 11/18/2014 00:07:33 ---

This is still the behavior as of 2.4.3.

Actions #1

Updated by milan over 4 years ago

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

Updated by dkliban@redhat.com about 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #3

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF