diff options
author | Alexandru Damian <alexandru.damian@intel.com> | 2015-02-24 17:20:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-24 23:35:44 +0000 |
commit | 6de6739c4cee68c38b815f8daa948156cf0a7c73 (patch) | |
tree | 2d22b3fe6f7c97d7fe2b00fe8e2e44a1102263f2 | |
parent | 03c1e479c987de6f53d0eb644892175b1de5a8e3 (diff) | |
download | poky-6de6739c4cee68c38b815f8daa948156cf0a7c73.tar.gz |
bitbake: toaster: update requirement for Django 1.6
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.
(Bitbake rev: 8640769296c3fffa2cf56cfb5327ca24533f5a41)
Signed-off-by: Alexandru Damian <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | bitbake/bin/toaster | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster index 04f2e99378..7907b574c1 100755 --- a/bitbake/bin/toaster +++ b/bitbake/bin/toaster | |||
@@ -129,8 +129,8 @@ function notify_chldexit() { | |||
129 | function verify_prereq() { | 129 | function verify_prereq() { |
130 | # Verify prerequisites | 130 | # Verify prerequisites |
131 | 131 | ||
132 | 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 | 132 | 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 |
133 | echo -e "This program needs Django 1.5 or 1.6. Please install with\n\npip install django==1.6\n" | 133 | echo -e "This program needs Django 1.6. Please install with\n\npip install django==1.6\n" |
134 | return 2 | 134 | return 2 |
135 | fi | 135 | fi |
136 | 136 | ||