[edk2-devel] [PATCH 3/3] BaseTools: Drop check for distutils.utils

Yuwei Chen yuwei.chen at intel.com
Mon Jul 26 06:20:42 UTC 2021


This patch looks good to me.

Reviewed-by: Yuwei Chen<yuwei.chen at intel.com>

> -----Original Message-----
> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Cole
> Sent: Saturday, July 24, 2021 4:02 AM
> To: devel at edk2.groups.io
> Cc: Cole Robinson <crobinso at redhat.com>
> Subject: [edk2-devel] [PATCH 3/3] BaseTools: Drop check for distutils.utils
> 
> distutils.utils is no longer used anywhere, so this check can be dropped.
> 
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
>  BaseTools/Tests/RunTests.py | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/BaseTools/Tests/RunTests.py b/BaseTools/Tests/RunTests.py
> index 81af736cd8..934683a446 100644
> --- a/BaseTools/Tests/RunTests.py
> +++ b/BaseTools/Tests/RunTests.py
> @@ -13,13 +13,6 @@ import os
>  import sys
>  import unittest
> 
> -try:
> -    import distutils.util
> -except ModuleNotFoundError:
> -    sys.exit('''
> -Python reported: "No module named 'distutils.util"
> -''')
> -
>  import TestTools
> 
>  def GetCTestSuite():
> --
> 2.31.1
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#78164): https://edk2.groups.io/g/devel/message/78164
Mute This Topic: https://groups.io/mt/84409131/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list