[pytango] 263/483: fix problem when using old boost python

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit c78fadc07d1dfbb00a70ccf9e722b1f21a869a0e
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Mon Jul 8 16:06:22 2013 +0000

    fix problem when using old boost python
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@23085 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 src/boost/cpp/server/tango_util.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/boost/cpp/server/tango_util.cpp b/src/boost/cpp/server/tango_util.cpp
index 506ad42..2513606 100644
--- a/src/boost/cpp/server/tango_util.cpp
+++ b/src/boost/cpp/server/tango_util.cpp
@@ -177,7 +177,7 @@ namespace PyUtil
                                       boost::python::object& py_event_loop)
     {
         PYTANGO_MOD
-        if (py_event_loop.is_none())
+        if (py_event_loop.ptr() == Py_None)
         {
             self.server_set_event_loop(NULL);
             pytango.attr("_server_event_loop") = py_event_loop;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list