From dd43459dcb1c78b64986d716090325e5a222346c Mon Sep 17 00:00:00 2001 From: Clayton O'Neill Date: Wed, 11 Feb 2015 20:28:52 +0000 Subject: [PATCH] Fix a typo and left over debug command --- giftwrap/openstack_git_repo.py | 1 - giftwrap/util.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/giftwrap/openstack_git_repo.py b/giftwrap/openstack_git_repo.py index 8686408..3a2253b 100644 --- a/giftwrap/openstack_git_repo.py +++ b/giftwrap/openstack_git_repo.py @@ -89,7 +89,6 @@ class OpenstackGitRepo(object): return self def next(self): - print self._cache_dir() return OpenstackCommit(next(self._commit_iterator), self.project, self.branch, self._cache_dir()) diff --git a/giftwrap/util.py b/giftwrap/util.py index 7a4376e..476ed75 100644 --- a/giftwrap/util.py +++ b/giftwrap/util.py @@ -48,7 +48,7 @@ def execute(command, cwd=None, exit=0): (out, err) = process.communicate() exitcode = process.wait() - LOG.debug("Command exitted with rc: %s; STDOUT: %s; STDERR: %s" % + LOG.debug("Command exited with rc: %s; STDOUT: %s; STDERR: %s" % (exitcode, out, err)) if cwd: