Project

General

Profile

Actions

Bug #4031

closed

set_mem_val() with an invalid value throws the wrong exception

Added by Leo Bärring over 7 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Target version:
-
Start date:
09/15/2016
Due date:
% Done:

100%

Estimated time:
0.00 h
Chirp Version:
daily
Model affected:
(All models)
Platform:
All
Debug Log:
I read the instructions above:

Description

chirp/settings.py, line 245 is supposed to raise an InvalidValueError
when the value we are trying to set is not in the approved list,
instead a NameError will be raised, because the 'value' variable
used when instantiating the InvalidValueError has not been defined.

The change required is simple, 'value' should be changed to 'mem_val',
I have fixed this in my own version and will submit a patch as soon
as I figure out how to work the hg tools.

Actions #1

Updated by Bernhard Hailer almost 4 years ago

  • Status changed from New to Closed

This appears to be complete.

Actions

Also available in: Atom PDF