mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-14 14:41:13 +02:00
2019-01-08 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'pypad.Receiver::setCallback()' method to 'pypad.Receiver::setPadCallback()'.
This commit is contained in:
@@ -68,7 +68,7 @@ rcvr=pypad.Receiver()
|
||||
#
|
||||
# Tell it to use the callback
|
||||
#
|
||||
rcvr.setCallback(ProcessPad)
|
||||
rcvr.setPadCallback(ProcessPad)
|
||||
|
||||
#
|
||||
# Start the receiver, giving it the hostname or IP address and TCP port of
|
||||
|
@@ -52,14 +52,14 @@ def ProcessPad(update):
|
||||
print("%03d:xxxx NEXT: [none]" % update.machine())
|
||||
|
||||
#
|
||||
# Create an instance of 'pypadReceiver'
|
||||
# Create an instance of 'pypad.Receiver'
|
||||
#
|
||||
rcvr=pypad.Receiver()
|
||||
|
||||
#
|
||||
# Tell it to use the callback
|
||||
#
|
||||
rcvr.setCallback(ProcessPad)
|
||||
rcvr.setPadCallback(ProcessPad)
|
||||
|
||||
#
|
||||
# Start the receiver, giving it the hostname or IP address and TCP port of
|
||||
|
@@ -141,7 +141,7 @@ rcvr=pypad.Receiver()
|
||||
#
|
||||
# Tell it to use the callback
|
||||
#
|
||||
rcvr.setCallback(ProcessPad)
|
||||
rcvr.setPadCallback(ProcessPad)
|
||||
|
||||
#
|
||||
# Start the receiver, giving it the hostname or IP address and TCP port of
|
||||
|
Reference in New Issue
Block a user