diff options
Diffstat (limited to 'py/modules/IcePy/Proxy.cpp')
-rw-r--r-- | py/modules/IcePy/Proxy.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/modules/IcePy/Proxy.cpp b/py/modules/IcePy/Proxy.cpp index da2f6529526..9e462cfd550 100644 --- a/py/modules/IcePy/Proxy.cpp +++ b/py/modules/IcePy/Proxy.cpp @@ -124,6 +124,10 @@ proxyCompare(ProxyObject* p1, PyObject* other, int op) break; } } + else if(other == Py_None) + { + result = op == Py_NE || op == Py_GE || op == Py_GT; + } else { if(op == Py_EQ) |