summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum2013-06-21 19:53:20 -0700
committerJosh Blum2013-06-21 19:53:20 -0700
commitb6e5debf3d0b9fddd5f274bf16bd3d5e09219639 (patch)
tree00892a861aade6de7940bd38a1f7bdabc6429bc3
parent37bd56f3301795e89294c048883324b0353237ef (diff)
downloadsandhi-b6e5debf3d0b9fddd5f274bf16bd3d5e09219639.tar.gz
sandhi-b6e5debf3d0b9fddd5f274bf16bd3d5e09219639.tar.bz2
sandhi-b6e5debf3d0b9fddd5f274bf16bd3d5e09219639.zip
gras: update submodules for type over isinstance registry
m---------PMC0
m---------grextras0
-rw-r--r--python/gras/GRAS_SBuffer.i2
3 files changed, 1 insertions, 1 deletions
diff --git a/PMC b/PMC
-Subproject 65b39373c5cddc79408b9c7db4355848a7efd9e
+Subproject a8b63e468f1607da7f10f8a9d786595fdf6da6d
diff --git a/grextras b/grextras
-Subproject 81cd59739e2c8181ccd7f2670948e9714ef4049
+Subproject 8790fabf31ccab6c734d72fa746a0fed23c1029
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,
)