diff options
author | Josh Blum | 2012-11-23 12:23:24 -0800 |
---|---|---|
committer | Josh Blum | 2012-11-23 12:23:24 -0800 |
commit | 84ff7046d02ac597fb1fabc8be4691a8a13246e2 (patch) | |
tree | 1a916be93ec3b5f9c9278035fa57c74f3ba28d29 | |
parent | cc151565932c8bc592a5279d6635381cc2277924 (diff) | |
download | sandhi-84ff7046d02ac597fb1fabc8be4691a8a13246e2.tar.gz sandhi-84ff7046d02ac597fb1fabc8be4691a8a13246e2.tar.bz2 sandhi-84ff7046d02ac597fb1fabc8be4691a8a13246e2.zip |
backwards compatible silliness _hb
-rw-r--r-- | python/gras/GRAS_HierBlock.i | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/gras/GRAS_HierBlock.i b/python/gras/GRAS_HierBlock.i index 328317c..ed41d39 100644 --- a/python/gras/GRAS_HierBlock.i +++ b/python/gras/GRAS_HierBlock.i @@ -168,6 +168,10 @@ class HierBlock(HierBlockPython): def __init__(self, *args, **kwargs): HierBlockPython.__init__(self, *args, **kwargs) + #backwards compatible silliness + import weakref + self._hb = weakref.proxy(self) + def connect(self, *args): return internal_connect__(HierBlockPython.connect, self, *args) |