summaryrefslogtreecommitdiff
path: root/python/gras/GRAS_SBuffer.i
diff options
context:
space:
mode:
Diffstat (limited to 'python/gras/GRAS_SBuffer.i')
-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,
)