Bug #15355
cook : erreur quand set_theme d'un thème qui n'existe pas
Statut:
Nouveau
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
08 mars 2017
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Description
Pour le moment ça trace moche :
File "/usr/lib/python2.7/dist-packages/hobo/environment/management/commands/cook.py", line 63, in handle getattr(self, action.replace('-', '_'))(**action_args) File "/usr/lib/python2.7/dist-packages/hobo/environment/management/commands/cook.py", line 190, in set_theme set_theme(theme) File "/usr/lib/python2.7/dist-packages/hobo/theme/utils.py", line 55, in set_theme for variable in theme.get('variables', {}).keys(): AttributeError: 'NoneType' object has no attribute 'get'
Faudrait un gentil message d'erreur.