Anomalie #2139
cfgparer.py : suppression des fichiers temporaires
Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Target version:
Distribution:
EOLE 2.3
Description
--- cfgparser.py 2011-10-01 16:02:09.000000000 +0200 +++ /usr/share/pyshared/creole/cfgparser.py 2011-10-01 16:07:52.000000000 +0200 @@ -579,7 +579,7 @@ containers = list(set(containers)) for container in containers: if not isdir(self._make_root_path(container)): - raise Exception("Le conteneur %s n'existe pas" % container) + raise Exception("Le conteneur %s n'existe pas" % container) for filename in glob(join(self._make_root_path(container), 'config.d', 'eth*')): unlink(filename) for filename in glob(join(self._make_root_path(container), 'interfaces.d', 'eth*')): @@ -645,6 +645,7 @@ t = Template(inputfile, templatedir=datadir) t.target = outputfile t.process(self) + unlink(inputfile) for container in containers: inputfile = mktemp() @@ -657,6 +658,7 @@ t = Template(inputfile, templatedir=datadir) t.target = join(self._make_root_path(container), 'rootfs', 'etc', 'network', 'interfaces') t.process(self) + unlink(inputfile) def _build_ve_interface(self, cname, interface): #eth1 => 1 @@ -992,6 +994,7 @@ t = Template(inputfile, templatedir=datadir) t.target = outputfile t.process(self) + unlink(inputfile) def regroupe_services(self, tcontainer): """
Associated revisions
cfgparer.py : suppression des fichiers temporaires (fixes #2139)
History
#1 Updated by Joël Cuissinat over 11 years ago
- Target version set to Mises à jour 2.3 - 02 RC
#2 Updated by Joël Cuissinat over 11 years ago
- Assigned To set to Joël Cuissinat
#3 Updated by Joël Cuissinat over 11 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 682aa9a3dd158439360a2ddddee4dfb49ccce099.
#4 Updated by Fabrice Barconnière over 11 years ago
- Status changed from Résolu to Fermé
- Distribution set to EOLE 2.3