summaryrefslogtreecommitdiffstats
path: root/scripts/buildhistory-diff
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-06-10 10:43:52 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-12 23:47:17 +0100
commitb2b1a5fa46d889ac143be79a785eacd053f9e629 (patch)
tree51f7e95a7ddc3789d45c8136eefcd0a448cfb37a /scripts/buildhistory-diff
parenta6da50648378a54fb9770ed5700fb44e8a7be2f1 (diff)
downloadpoky-b2b1a5fa46d889ac143be79a785eacd053f9e629.tar.gz
buildhistory-diff: suggest correct version of PythonGit
If buildhistory-diff can't import git module it throws error message suggesting to install it. Due to the move to Python 3 the suggested package name and version became outdated. Changed package name to python3-git and version to >= 0.3.4 as GitPython supports Python 3 starting from 0.3.4. [YOCTO #9741] (From OE-Core rev: 0632c3e69070e340218c1c1c835b2343cd143d8d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/buildhistory-diff')
-rwxr-xr-xscripts/buildhistory-diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildhistory-diff b/scripts/buildhistory-diff
index dc8b8f236e..d8ca12d3e6 100755
--- a/scripts/buildhistory-diff
+++ b/scripts/buildhistory-diff
@@ -14,7 +14,7 @@ from distutils.version import LooseVersion
14try: 14try:
15 import git 15 import git
16except ImportError: 16except ImportError:
17 print("Please install GitPython (python-git) 0.3.1 or later in order to use this script") 17 print("Please install GitPython (python3-git) 0.3.4 or later in order to use this script")
18 sys.exit(1) 18 sys.exit(1)
19 19
20def main(): 20def main():