remove redundant '!!'
authorAndreas Oberritter <obi@opendreambox.org>
Tue, 25 Mar 2008 23:05:23 +0000 (23:05 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Tue, 25 Mar 2008 23:05:23 +0000 (23:05 +0000)
lib/base/ebase.cpp

index 03f50cc..01ee6a5 100644 (file)
@@ -443,7 +443,7 @@ static PyObject *
 eTimerPy_is_active(eTimerPy* self)
 {
        PyObject *ret = NULL;
 eTimerPy_is_active(eTimerPy* self)
 {
        PyObject *ret = NULL;
-       ret = !!self->tm->isActive() ? Py_True : Py_False;
+       ret = self->tm->isActive() ? Py_True : Py_False;
        Org_Py_INCREF(ret);
        return ret;
 }
        Org_Py_INCREF(ret);
        return ret;
 }