diff options
author | Josh Blum | 2013-06-24 03:05:41 -0700 |
---|---|---|
committer | Josh Blum | 2013-06-24 03:05:41 -0700 |
commit | 5f3a64d6a9d0a949c95f23c888d42da3a70013bb (patch) | |
tree | d8fd7e9c3a0b790bce052b94e2c84e718b5b5b3e /python/gras/GRAS_PyHierBlocks.i | |
parent | c06fbef3cfa47fde6fec4786f0831c8452f877ac (diff) | |
download | sandhi-5f3a64d6a9d0a949c95f23c888d42da3a70013bb.tar.gz sandhi-5f3a64d6a9d0a949c95f23c888d42da3a70013bb.tar.bz2 sandhi-5f3a64d6a9d0a949c95f23c888d42da3a70013bb.zip |
gras: misc fixes from last commit
Diffstat (limited to 'python/gras/GRAS_PyHierBlocks.i')
-rw-r--r-- | python/gras/GRAS_PyHierBlocks.i | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/python/gras/GRAS_PyHierBlocks.i b/python/gras/GRAS_PyHierBlocks.i index a769e2b..9f01397 100644 --- a/python/gras/GRAS_PyHierBlocks.i +++ b/python/gras/GRAS_PyHierBlocks.i @@ -137,10 +137,7 @@ struct HierBlockPython : HierBlock //////////////////////////////////////////////////////////////////////// %pythoncode %{ -from GRAS_Element import Element - def to_element(obj): - if isinstance(obj, Element): return obj try: elem = obj.to_element() set_weak_py_self(elem, obj) |