summaryrefslogtreecommitdiff
path: root/python/gras/GRAS_PyHierBlocks.i
diff options
context:
space:
mode:
authorJosh Blum2013-06-24 03:05:41 -0700
committerJosh Blum2013-06-24 03:05:41 -0700
commit5f3a64d6a9d0a949c95f23c888d42da3a70013bb (patch)
treed8fd7e9c3a0b790bce052b94e2c84e718b5b5b3e /python/gras/GRAS_PyHierBlocks.i
parentc06fbef3cfa47fde6fec4786f0831c8452f877ac (diff)
downloadsandhi-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.i3
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)