diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes-global/sanity.bbclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass index 606444cae1..38f4a4b22f 100644 --- a/meta/classes-global/sanity.bbclass +++ b/meta/classes-global/sanity.bbclass | |||
@@ -625,11 +625,9 @@ def check_sanity_version_change(status, d): | |||
625 | # never again until the sanity version or host distrubution id/version changes. | 625 | # never again until the sanity version or host distrubution id/version changes. |
626 | 626 | ||
627 | # Check the python install is complete. Examples that are often removed in | 627 | # Check the python install is complete. Examples that are often removed in |
628 | # minimal installations: glib-2.0-natives requries # xml.parsers.expat and icu | 628 | # minimal installations: glib-2.0-natives requries # xml.parsers.expat |
629 | # requires distutils.sysconfig. | ||
630 | try: | 629 | try: |
631 | import xml.parsers.expat | 630 | import xml.parsers.expat |
632 | import distutils.sysconfig | ||
633 | except ImportError as e: | 631 | except ImportError as e: |
634 | status.addresult('Your Python 3 is not a full install. Please install the module %s (see the Getting Started guide for further information).\n' % e.name) | 632 | status.addresult('Your Python 3 is not a full install. Please install the module %s (see the Getting Started guide for further information).\n' % e.name) |
635 | 633 | ||