From 95670ce6b566f7f27cba152c6784cdcf60a4381f Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 26 Mar 2012 21:58:28 -0400 Subject: [PATCH] remove unused function --- lib/ansible/callbacks.py | 4 ---- lib/ansible/playbook.py | 1 - 2 files changed, 5 deletions(-) diff --git a/lib/ansible/callbacks.py b/lib/ansible/callbacks.py index e9a1b15781..06e5ee1fa5 100755 --- a/lib/ansible/callbacks.py +++ b/lib/ansible/callbacks.py @@ -139,10 +139,6 @@ class PlaybookCallbacks(object): def __init__(self): pass - # TOOD: -- remove this - def set_playbook(self, playbook): - self.playbook = playbook - def on_start(self): print "\n" diff --git a/lib/ansible/playbook.py b/lib/ansible/playbook.py index 6f404f39c2..7262aa57e2 100755 --- a/lib/ansible/playbook.py +++ b/lib/ansible/playbook.py @@ -75,7 +75,6 @@ class PlayBook(object): self.override_hosts = override_hosts self.stats = stats - self.callbacks.set_playbook(self) self.basedir = os.path.dirname(playbook) self.playbook = self._parse_playbook(playbook)