Skip to contentSkip to conversation

buildhistory-diff: suggest correct version of PythonGit

PATCH New Ed Bartosh 1 participant 1 message Jun 10, 2016

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 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]

---
 scripts/buildhistory-diff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/buildhistory-diff +1 -1
index dc8b8f2..d8ca12d 100755
@@ -14,7 +14,7 @@ from distutils.version import LooseVersion
 try:
     import git
 except ImportError:
-    print("Please install GitPython (python-git) 0.3.1 or later in order to use this script")
+    print("Please install GitPython (python3-git) 0.3.4 or later in order to use this script")
     sys.exit(1)
 
 def main():
Signature · 1 line
2.1.4