You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2015/01/31 21:49:42 UTC
qpid-proton git commit: fixed a typo, tweaked wording
Repository: qpid-proton
Updated Branches:
refs/heads/master c76e5cbf1 -> 0c855d911
fixed a typo, tweaked wording
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/0c855d91
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/0c855d91
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/0c855d91
Branch: refs/heads/master
Commit: 0c855d911acdbb974b0643e6805e056df9ba48a4
Parents: c76e5cb
Author: Rafael Schloming <rh...@alum.mit.edu>
Authored: Sat Jan 31 15:49:29 2015 -0500
Committer: Rafael Schloming <rh...@alum.mit.edu>
Committed: Sat Jan 31 15:49:29 2015 -0500
----------------------------------------------------------------------
examples/reactor/py/scheduling.py | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/0c855d91/examples/reactor/py/scheduling.py
----------------------------------------------------------------------
diff --git a/examples/reactor/py/scheduling.py b/examples/reactor/py/scheduling.py
index b2a1af7..04e9ed2 100755
--- a/examples/reactor/py/scheduling.py
+++ b/examples/reactor/py/scheduling.py
@@ -27,14 +27,13 @@ class Program:
self.start = time.time()
print "Hello, World!"
- # If we want to hang around for a bit longer, we can schedule
- # a task event for some point in the future. This will cause the
- # reactor to stick around until it has a chance to process the
- # event.
-
- # The first argument is the delay. The second argument to is
- # the handler for the event. We are just using self for now,
- # but we could pass in another object if we wanted.
+ # We can schedule a task event for some point in the future.
+ # This will cause the reactor to stick around until it has a
+ # chance to process the event.
+
+ # The first argument is the delay. The second argument is the
+ # handler for the event. We are just using self for now, but
+ # we could pass in another object if we wanted.
task = event.reactor.schedule(1.0, self)
# We can ignore the task if we want to, but we can also use it
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org