From: Collin Funk <collin.funk1@gmail.com> Date: Sun, 21 Apr 2024 07:29:50 +0000 (-0700) Subject: gnulib-tool.py: Make temporary directories recognizable. X-Git-Tag: v1.0~19 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=5b6e410e04b48c0fd62e954fafa220ef301d2c70;p=gnulib.git gnulib-tool.py: Make temporary directories recognizable. * pygnulib/GLConfig.py (GLConfig.__init__): Pass the 'glpy' prefix to mkdtemp. --- diff --git a/ChangeLog b/ChangeLog index 5a10b83411..b3cef64936 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-04-21 Collin Funk <collin.funk1@gmail.com> + + gnulib-tool.py: Make temporary directories recognizable. + * pygnulib/GLConfig.py (GLConfig.__init__): Pass the 'glpy' prefix to + mkdtemp. + 2024-04-21 Bruno Haible <bruno@clisp.org> gnulib-tool.sh: In --create-testdir, just warn about a bad module name. diff --git a/pygnulib/GLConfig.py b/pygnulib/GLConfig.py index 19611b823c..05947e8ed3 100644 --- a/pygnulib/GLConfig.py +++ b/pygnulib/GLConfig.py @@ -87,7 +87,7 @@ class GLConfig: errors: bool | None = None) -> None: '''Create new GLConfig instance.''' self.table = dict() - self.table['tempdir'] = tempfile.mkdtemp() + self.table['tempdir'] = tempfile.mkdtemp(prefix='glpy') # Check and store the attributes. # Remove trailing slashes from the directory names. This is necessary # for m4base (to avoid an error in func_import) and optional for the