remove all of the unused saved return values from attach_to_twisted

This commit is contained in:
Vishvananda Ishaya
2010-07-21 08:46:53 -05:00
parent d150d56255
commit ce9978859c
2 changed files with 4 additions and 4 deletions

View File

@@ -74,8 +74,8 @@ def main():
pulse = task.LoopingCall(n.report_state, FLAGS.node_name, bin_name) pulse = task.LoopingCall(n.report_state, FLAGS.node_name, bin_name)
pulse.start(interval=FLAGS.compute_report_state_interval, now=False) pulse.start(interval=FLAGS.compute_report_state_interval, now=False)
injected = consumer_all.attach_to_twisted() consumer_all.attach_to_twisted()
injected = consumer_node.attach_to_twisted() consumer_node.attach_to_twisted()
# This is the parent service that twistd will be looking for when it # This is the parent service that twistd will be looking for when it
# parses this file, return it so that we can get it into globals below # parses this file, return it so that we can get it into globals below

View File

@@ -70,8 +70,8 @@ def main():
pulse = task.LoopingCall(bs.report_state, FLAGS.node_name, bin_name) pulse = task.LoopingCall(bs.report_state, FLAGS.node_name, bin_name)
pulse.start(interval=FLAGS.volume_report_state_interval, now=False) pulse.start(interval=FLAGS.volume_report_state_interval, now=False)
injected = consumer_all.attach_to_twisted() consumer_all.attach_to_twisted()
injected = consumer_node.attach_to_twisted() consumer_node.attach_to_twisted()
# This is the parent service that twistd will be looking for when it # This is the parent service that twistd will be looking for when it
# parses this file, return it so that we can get it into globals below # parses this file, return it so that we can get it into globals below