qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject qpid-proton git commit: NO-JIRA: fix rarely used example
Date Fri, 26 Aug 2016 11:10:40 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master a13c1acbe -> c5f3f3286


NO-JIRA: fix rarely used example


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/c5f3f328
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/c5f3f328
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/c5f3f328

Branch: refs/heads/master
Commit: c5f3f3286146a8211857b2c6ed8210099e0dec2b
Parents: a13c1ac
Author: Gordon Sim <gsim@redhat.com>
Authored: Fri Aug 26 12:03:46 2016 +0100
Committer: Gordon Sim <gsim@redhat.com>
Committed: Fri Aug 26 12:10:08 2016 +0100

----------------------------------------------------------------------
 examples/python/proton_tornado.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/c5f3f328/examples/python/proton_tornado.py
----------------------------------------------------------------------
diff --git a/examples/python/proton_tornado.py b/examples/python/proton_tornado.py
index f946b43..7c787d5 100755
--- a/examples/python/proton_tornado.py
+++ b/examples/python/proton_tornado.py
@@ -48,7 +48,7 @@ class TornadoLoopHandler:
 
     def _schedule(self, sel):
         if sel.deadline:
-            self.loop.add_timeout(sel.deadline, lambda: self.expired(sel))
+            self.loop.add_timeout(sel.deadline, lambda: self._expired(sel))
 
     def _expired(self, sel):
         sel.expired()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message