Project

General

Profile

Anomalie #4721

Les requêtes de configuration ne lève pas d’exception

Added by Daniel Dehennin over 7 years ago. Updated about 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
01/17/2013
Due date:
02/01/2013
% Done:

100%

Estimated time:
0.25 h
Distribution:
EOLE 2.4

Description

Les méthodes d’interrogation de la configuration devraient lever une exception si rien n’est trouvé, comme get() (source:tiramisu/config.py?rev=189053ad#L390) :

Cela rendrait le code utilisateur plus beau ;-)

Associated revisions

Revision e2a02c5b (diff)
Added by Gwenael Remond over 7 years ago

find raises an exception if no option found Fixes #4721

History

#1 Updated by Daniel Dehennin over 7 years ago

  • Description updated (diff)

#2 Updated by Gwenael Remond over 7 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#3 Updated by Gwenael Remond over 7 years ago

  • Estimated time set to 0.25 h

#4 Updated by Joël Cuissinat over 7 years ago

  • Due date set to 02/01/2013

#5 Updated by Joël Cuissinat about 7 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF