summaryrefslogtreecommitdiffstats
path: root/SCons/Tool/gxx.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2022-01-23 00:17:48 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2022-01-23 00:17:48 (GMT)
commit2f4b66afe976071ffb456235b2efc7099d528bbb (patch)
treecccd3049b0921d631be4c1e6eb16e4226fc640ad /SCons/Tool/gxx.py
parent8dd789185a386f0b15c46441d5b9166c40504776 (diff)
downloadSCons-2f4b66afe976071ffb456235b2efc7099d528bbb.zip
SCons-2f4b66afe976071ffb456235b2efc7099d528bbb.tar.gz
SCons-2f4b66afe976071ffb456235b2efc7099d528bbb.tar.bz2
address a number of ResourceWarning: unclosed file <_io.TextIOWrapper name='progress.out' mode='w' encoding='UTF-8'> type warnings which are issued when running tests with python 3.9
Diffstat (limited to 'SCons/Tool/gxx.py')
-rw-r--r--SCons/Tool/gxx.py24
1 files changed, 11 insertions, 13 deletions
diff --git a/SCons/Tool/gxx.py b/SCons/Tool/gxx.py
index 88186cb..edb45e2 100644
--- a/SCons/Tool/gxx.py
+++ b/SCons/Tool/gxx.py
@@ -1,15 +1,6 @@
-"""SCons.Tool.g++
-
-Tool-specific initialization for g++.
-
-There normally shouldn't be any need to import this module directly.
-It will usually be imported through the generic SCons.Tool.Tool()
-selection method.
-
-"""
-
+# MIT License
#
-# __COPYRIGHT__
+# Copyright The SCons Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
@@ -29,9 +20,16 @@ selection method.
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-#
-__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
+"""SCons.Tool.g++
+
+Tool-specific initialization for g++.
+
+There normally shouldn't be any need to import this module directly.
+It will usually be imported through the generic SCons.Tool.Tool()
+selection method.
+
+"""
import SCons.Tool