opental-checkins
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OpenTAL-checkins] opental/OpenTAL/Static TAL_File.py


From: Fernando Lalo Martins
Subject: [OpenTAL-checkins] opental/OpenTAL/Static TAL_File.py
Date: Wed, 26 Feb 2003 06:30:24 -0500

CVSROOT:        /cvsroot/opental
Module name:    opental
Changes by:     Fernando Lalo Martins <address@hidden>  03/02/26 06:30:24

Modified files:
        OpenTAL/Static : TAL_File.py 

Log message:
        adding a refresh() method to TAL_File

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/opental/opental/OpenTAL/Static/TAL_File.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: opental/OpenTAL/Static/TAL_File.py
diff -u opental/OpenTAL/Static/TAL_File.py:1.1 
opental/OpenTAL/Static/TAL_File.py:1.2
--- opental/OpenTAL/Static/TAL_File.py:1.1      Tue Feb  4 21:49:35 2003
+++ opental/OpenTAL/Static/TAL_File.py  Wed Feb 26 06:30:24 2003
@@ -103,6 +103,9 @@
             if hasattr(context, context_name):
                 setattr(self, self_name, getattr(context, context_name))
 
+    def refresh(self):
+        self._edit(self.path.text())
+
     def __call__(self, *args, **kw):
         tr_engine = pax.paxtransform.RenderingEngine()
         for handler in handler_registry:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]