Evolution #6188
Désactiver la maj auto en 2.4
Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Target version:
Distribution:
EOLE 2.4
Description
Adapter posttemplate/00-maj_disable à EOLE 2.4
Associated revisions
Désactivation Maj_Auto sur EOLE 2.4
fixes #6188 @2h
History
#1 Updated by Fabrice Barconnière almost 10 years ago
- Project changed from eole-pacemaker to creole
- Subject changed from Adapter posttemplate/00-maj_disable à EOLE 2.4 to disable_maj_auto() ne fonctionne pas en 2.4 ?
from creole.maj import disable_maj_auto if CreoleClient().get_creole('activer_haute_dispo') != 'non': disable_maj_auto()
Traceback (most recent call last): File "/usr/share/eole/posttemplate/00-maj_disable", line 8, in <module> disable_maj_auto() File "/usr/lib/python2.7/dist-packages/creole/maj.py", line 53, in disable_maj_auto if maj_enabled(): File "/usr/lib/python2.7/dist-packages/creole/maj.py", line 28, in maj_enabled if ('weekly', 'majauto') in schedule._list_all_enable_file('post'): AttributeError: 'module' object has no attribute '_list_all_enable_file'
#2 Updated by Fabrice Barconnière almost 10 years ago
- Assigned To deleted (
Fabrice Barconnière)
#3 Updated by Fabrice Barconnière almost 10 years ago
- Project changed from creole to eole-pacemaker
- Subject changed from disable_maj_auto() ne fonctionne pas en 2.4 ? to Désactiver la maj auto en 2.4
- Assigned To set to Fabrice Barconnière
Correction de http://dev-eole.ac-dijon.fr/projects/creole/wiki/Schedule24
Le script n'est pas dans /usr/share/eole/schedule
#4 Updated by Fabrice Barconnière almost 10 years ago
- Status changed from Accepté to Résolu
- % Done changed from 0 to 100
Appliqué par commit 0cd315a6876f9039b807df6d6f5d66130bc7146a.
#5 Updated by Joël Cuissinat almost 10 years ago
- Status changed from Résolu to Fermé
OK... Mais la ligne n'est pas facile à voir du premier coup d’œil :
* les tâches désactivées