From: "Aníbal Limón" <anibal.limon@linux.intel.com>
To: yocto@yoctoproject.org
Cc: paul.eggleton@linux.intel.com
Subject: [PATCH 06/10][AUH] buildhistory.py: Add missing warning import. git.py: Fix last_commit method.
Date: Mon, 9 Nov 2015 16:01:37 -0600 [thread overview]
Message-ID: <1447106501-470-7-git-send-email-anibal.limon@linux.intel.com> (raw)
In-Reply-To: <1447106501-470-1-git-send-email-anibal.limon@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
---
buildhistory.py | 3 ++-
git.py | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/buildhistory.py b/buildhistory.py
index 6eca6e1..2e442d2 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
next prev parent reply other threads:[~2015-11-09 22:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 22:01 [PATCH 00/10][AUH] Improvements and small fixes Aníbal Limón
2015-11-09 22:01 ` [PATCH 01/10][AUH] upgradehelper.py: Add step for build gcc-runtime at init Aníbal Limón
2015-11-09 22:01 ` [PATCH 02/10][AUH] upgradehelper.py: Fix bug when buildhistory isn't enabled Aníbal Limón
2015-11-09 22:01 ` [PATCH 03/10][AUH] recipe.py: Improvements and refactor of fetch method Aníbal Limón
2015-11-10 8:46 ` Paul Eggleton
2015-11-11 20:08 ` Aníbal Limón
2015-11-09 22:01 ` [PATCH 04/10][AUH] buildhistory.py: Don't modify BB_ENV_EXTRAWHITE before init Aníbal Limón
2015-11-10 8:54 ` Paul Eggleton
2015-11-11 20:14 ` Aníbal Limón
2015-11-09 22:01 ` [PATCH 05/10][AUH] upgradehelper.py: Add sanity test for ensure that git is configured Aníbal Limón
2015-11-10 8:59 ` Paul Eggleton
2015-11-11 20:15 ` Aníbal Limón
2015-11-09 22:01 ` Aníbal Limón [this message]
2015-11-09 22:01 ` [PATCH 07/10][AUH] upgradehelper.py: Improve work directory structure Aníbal Limón
2015-11-09 22:01 ` [PATCH 08/10][AUH] upgradehelper.py: Add support for do recipe upgrades based on builddep Aníbal Limón
2015-11-10 9:09 ` Paul Eggleton
2015-11-11 20:15 ` Aníbal Limón
2015-11-09 22:01 ` [PATCH 09/10][AUH] upgradehelper.py: Add support for preserve statistics into work directory Aníbal Limón
2015-11-09 22:01 ` [PATCH 10/10][AUH] requirements.txt: Add file for now only with GitPython Aníbal Limón
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1447106501-470-7-git-send-email-anibal.limon@linux.intel.com \
--to=anibal.limon@linux.intel.com \
--cc=paul.eggleton@linux.intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.