diff options
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 5699287a4a..91b92ec28a 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -702,10 +702,10 @@ def check_sanity_everybuild(status, d): | |||
702 | if 0 == os.getuid(): | 702 | if 0 == os.getuid(): |
703 | raise_sanity_error("Do not use Bitbake as root.", d) | 703 | raise_sanity_error("Do not use Bitbake as root.", d) |
704 | 704 | ||
705 | # Check the Python version, we now have a minimum of Python 2.7.3 | 705 | # Check the Python version, we now have a minimum of Python 3.4 |
706 | import sys | 706 | import sys |
707 | if sys.hexversion < 0x020703F0: | 707 | if sys.hexversion < 0x03040000: |
708 | status.addresult('The system requires at least Python 2.7.3 to run. Please update your Python interpreter.\n') | 708 | status.addresult('The system requires at least Python 3.4 to run. Please update your Python interpreter.\n') |
709 | 709 | ||
710 | # Check the bitbake version meets minimum requirements | 710 | # Check the bitbake version meets minimum requirements |
711 | from distutils.version import LooseVersion | 711 | from distutils.version import LooseVersion |