]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: update requirement for Django 1.6
authorAlexandru Damian <alexandru.damian@intel.com>
Tue, 24 Feb 2015 17:20:56 +0000 (17:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Feb 2015 23:35:39 +0000 (23:35 +0000)
In order to bring in transaction.set_commit support,
we need Django 1.6, discarding support for Django 1.5

This patch removes 1.5 from the list of acceptable Django
versions.

Signed-off-by: Alexandru Damian <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin/toaster

index 04f2e9937801e75c958704a4ac36f129c5180962..7907b574c14fc62f2102bdae44eaf30ef701ddea 100755 (executable)
@@ -129,8 +129,8 @@ function notify_chldexit() {
 function verify_prereq() {
        # Verify prerequisites
 
-    if ! echo "import django; print (1,) == django.VERSION[0:1] and django.VERSION[1:2][0] in (5,6)" | python 2>/dev/null | grep True >/dev/null; then
-        echo -e "This program needs Django 1.5 or 1.6. Please install with\n\npip install django==1.6\n"
+    if ! echo "import django; print (1,) == django.VERSION[0:1] and django.VERSION[1:2][0] in (6,)" | python 2>/dev/null | grep True >/dev/null; then
+        echo -e "This program needs Django 1.6. Please install with\n\npip install django==1.6\n"
         return 2
     fi