diff options
author | Mark Spruiell <mes@zeroc.com> | 2008-03-12 18:30:15 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2008-03-12 18:30:15 -0700 |
commit | fcf0041374e0f246e2365dea4095a84febdc1fe3 (patch) | |
tree | 49104d021e87aefd2856feb153d3528162d18628 /py/modules/IcePy/Properties.cpp | |
parent | VC80 msi fixes (diff) | |
download | ice-fcf0041374e0f246e2365dea4095a84febdc1fe3.tar.bz2 ice-fcf0041374e0f246e2365dea4095a84febdc1fe3.tar.xz ice-fcf0041374e0f246e2365dea4095a84febdc1fe3.zip |
bug fix in Python properties
Diffstat (limited to 'py/modules/IcePy/Properties.cpp')
-rw-r--r-- | py/modules/IcePy/Properties.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modules/IcePy/Properties.cpp b/py/modules/IcePy/Properties.cpp index 44c2bffcd90..33de3574e15 100644 --- a/py/modules/IcePy/Properties.cpp +++ b/py/modules/IcePy/Properties.cpp @@ -107,7 +107,7 @@ propertiesInit(PropertiesObject* self, PyObject* args, PyObject* /*kwds*/) // // Replace the contents of the given argument list with the filtered arguments. // - if(arglist) + if(arglist && arglist != Py_None) { if(PyList_SetSlice(arglist, 0, PyList_Size(arglist), 0) < 0) { |