Ajout de la fonction get_attr pour simplifier dans cheetah. Mais a la
reflexion on doit pouvoir faire directement $getattr($job,$key)... :) darcs-hash:20060425005314-9e428-71303bc430dc8770077e4d7f4a57c62287bed9a7.gz
This commit is contained in:
parent
daa54f5b9b
commit
e3a6cbd9ff
1 changed files with 2 additions and 2 deletions
|
@ -306,7 +306,7 @@ class fichier_impression:
|
||||||
openlog("impression")
|
openlog("impression")
|
||||||
syslog("class : %s a disparu" % self.nom_fichier_pdf)
|
syslog("class : %s a disparu" % self.nom_fichier_pdf)
|
||||||
|
|
||||||
def __getattr(self,key):
|
def get_attr(self,key):
|
||||||
return getattr(self,key)
|
return getattr(self,key)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue