Project

General

Profile

Anomalie #7885

On ne peut pas changer le répertoire des dictionnaires utilisé par creole_loader

Added by Joël Cuissinat about 7 years ago. Updated almost 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
04/18/2014
% Done:

100%

Estimated time:
1.50 h
Spent time:
Distribution:
EOLE 2.4

Description

Ce cas n'est pas prévu dans creole/loader.py (creole_loader) !


Related issues

Related to creole - Evolution #7887: Ajouter des tests unitaires pour valider certaines manipulations appliquées aux variables Creole Fermé

Associated revisions

Revision 4d28af12 (diff)
Added by Joël Cuissinat about 7 years ago

Ajout du paramètre "force_dirs" dans creole_loader

Fixes: #7885 @45m

History

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

  • Due date changed from 04/04/2014 to 04/18/2014

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

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

#3 Updated by Emmanuel GARETTE almost 7 years ago

  • Status changed from Résolu to Fermé

OK :

root@scribe:~# mkdir test
root@scribe:~# cp /usr/share/eole/creole/dicos/00_common.xml test/

Import sans option :

root@scribe:~# python
Python 2.7.3 (default, Feb 27 2014, 19:58:35) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from creole.loader import creole_loader
>>> a=creole_loader()
>>> a.creole
[containers]
[general]
[services]
[firewall]
[systeme]
[sshd]
[interface_0]
[reseau_avance]
[certificats_ssl]
[mots_de_passe]
[clamav]
[directeur_bacula]
[stockage_bacula]
[annuaire]
[ltsp]
[esu]
[samba]
[nscd]
[applications_web]
[apache]
[eole_sso]
[ead_web]
[mysql]
[messagerie]
[openldap]
[cups]
[proftpd]
[eoleflask]
[ent]

Uniquement le fichier copié :

root@scribe:~# python
Python 2.7.3 (default, Feb 27 2014, 19:58:35) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from creole.loader import creole_loader
>>> a=creole_loader(force_dirs='./test')
>>> a.creole
[containers]
[general]
[services]
[firewall]
[systeme]
[sshd]

Also available in: Atom PDF