Signed-off-by: Aníbal Limón <[email protected]>
---
buildhistory.py | 3 ++-
git.py | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/buildhistory.py b/buildhistory.py
index 59566c8..842efc3 100644
--- a/buildhistory.py
+++ b/buildhistory.py
@@ -20,8 +20,9 @@
import os
import logging as log
-from logging import info as I
from logging import debug as D
+from logging import info as I
+from logging import warning as W
from logging import error as E
from logging import critical as C
import sys
diff --git a/git.py b/git.py
index 3eebac3..9661364 100644
--- a/git.py
+++ b/git.py
@@ -88,7 +88,7 @@ class Git(object):
return self._cmd("clean -fd")
def last_commit(self, branch_name):
- return self._cmd("log --pretty=format:\"%H\" -1" + branch_name)
+ return self._cmd("log --pretty=format:\"%H\" -1 " + branch_name)
def ls_remote(self, repo_url=None, options=None, refs=None):
cmd = "ls-remote"
--
2.1.4
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto