appobject.py
changeset 3453 e2572c9ca3ec
parent 3426 6ea4a2ff01c9
child 3678 29f74716fd70
--- a/appobject.py	Wed Sep 23 19:40:47 2009 +0200
+++ b/appobject.py	Wed Sep 23 19:41:19 2009 +0200
@@ -356,9 +356,10 @@
     def view(self, *args, **kwargs):
         return self._cw.view(*args, **kwargs)
 
+    @property
     @deprecated('[3.6] use self._cw.varmaker')
-    def initialize_varmaker(self):
-        self.varmaker = self._cw.varmaker
+    def varmaker(self):
+        return self._cw.varmaker
 
     @deprecated('[3.6] use self._cw.get_cache')
     def get_cache(self, cachename):