summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJosh Blum2013-06-21 19:53:20 -0700
committerJosh Blum2013-06-21 19:53:20 -0700
commitb6e5debf3d0b9fddd5f274bf16bd3d5e09219639 (patch)
tree00892a861aade6de7940bd38a1f7bdabc6429bc3 /python
parent37bd56f3301795e89294c048883324b0353237ef (diff)
downloadsandhi-b6e5debf3d0b9fddd5f274bf16bd3d5e09219639.tar.gz
sandhi-b6e5debf3d0b9fddd5f274bf16bd3d5e09219639.tar.bz2
sandhi-b6e5debf3d0b9fddd5f274bf16bd3d5e09219639.zip
gras: update submodules for type over isinstance registry
Diffstat (limited to 'python')
-rw-r--r--python/gras/GRAS_SBuffer.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/gras/GRAS_SBuffer.i b/python/gras/GRAS_SBuffer.i
index 867d2f1..5ae910a 100644
--- a/python/gras/GRAS_SBuffer.i
+++ b/python/gras/GRAS_SBuffer.i
@@ -14,7 +14,7 @@ def pmc_to_sbuffer(p):
return s
RegisterPy2PMC(
- is_py = lambda x: isinstance(x, SBuffer),
+ is_py = lambda x: type(x) is SBuffer,
py2pmc = swig_sbuffer_to_pmc,
)