From b6e5debf3d0b9fddd5f274bf16bd3d5e09219639 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 21 Jun 2013 19:53:20 -0700 Subject: gras: update submodules for type over isinstance registry --- python/gras/GRAS_SBuffer.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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, ) -- cgit