Project

Profile

Help

Story #176

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

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

History

#1 Updated by milan over 3 years ago

  • Status changed from NEW to MODIFIED
  • % Done changed from 0 to 100

#2 Updated by dkliban@redhat.com about 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#3 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF