From c0c691089d8f1b4e22603518698d70de0df87fe9 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 20 Apr 2012 08:09:43 -0400 Subject: [PATCH] Fix bug in src. Should not code this early :) --- library/file | 2 +- test/TestPlayBook.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/library/file b/library/file index b672934e4e..90d6892601 100755 --- a/library/file +++ b/library/file @@ -93,7 +93,7 @@ if path: path = os.path.expanduser(path) src = params.get('src', None) if src: - path = os.path.expanduser(src) + src = os.path.expanduser(src) dest = params.get('dest', None) mode = params.get('mode', None) owner = params.get('owner', None) diff --git a/test/TestPlayBook.py b/test/TestPlayBook.py index 97e3f102c3..20a00c43cf 100644 --- a/test/TestPlayBook.py +++ b/test/TestPlayBook.py @@ -140,7 +140,9 @@ class TestPlaybook(unittest.TestCase): callbacks = self.test_callbacks, runner_callbacks = self.test_callbacks ) - return self.playbook.run() + result = self.playbook.run() + print utils.bigjson(dict(events=EVENTS)) + return result def test_one(self): pb = os.path.join(self.test_dir, 'playbook1.yml')