[Checkins] SVN: Sandbox/malthe/chameleon.core/src/chameleon/core/utils.py Added vars property, which is simply the econtext itself.

Malthe Borch mborch at gmail.com
Tue Nov 18 19:55:13 EST 2008


Log message for revision 93110:
  Added vars property, which is simply the econtext itself.

Changed:
  U   Sandbox/malthe/chameleon.core/src/chameleon/core/utils.py

-=-
Modified: Sandbox/malthe/chameleon.core/src/chameleon/core/utils.py
===================================================================
--- Sandbox/malthe/chameleon.core/src/chameleon/core/utils.py	2008-11-19 00:46:30 UTC (rev 93109)
+++ Sandbox/malthe/chameleon.core/src/chameleon/core/utils.py	2008-11-19 00:55:13 UTC (rev 93110)
@@ -124,6 +124,10 @@
     
     set_local = setLocal = dict.__setitem__
     set_global = setGlobal = dict.__setitem__
+
+    @property
+    def vars(self):
+        return self
     
 class scope(list):
     def __init__(self, *args):



More information about the Checkins mailing list