diff options
author | Angelos Evripiotis <jevripiotis@bloomberg.net> | 2019-06-27 13:30:14 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-09 14:30:54 +0000 |
commit | 712250bbf13e54c081861fe58d6d12151e987c3a (patch) | |
tree | 5dbf17ead59126f764e3c2cfc6ecf70688044957 | |
parent | 335a1ecea34ea8a1d3674b8882130f048cfab545 (diff) | |
download | buildstream-712250bbf13e54c081861fe58d6d12151e987c3a.tar.gz |
utils: fix yield type of _tempnamedfile
-rw-r--r-- | src/buildstream/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/utils.py b/src/buildstream/utils.py index f47f31a29..18810b557 100644 --- a/src/buildstream/utils.py +++ b/src/buildstream/utils.py @@ -998,7 +998,7 @@ def _tempdir(suffix="", prefix="tmp", dir=None): # pylint: disable=redefined-bu # prefix (str): A prefix for the temporary file name # # Yields: -# (str): The temporary file handle +# (tempfile.NamedTemporaryFile): The temporary file handle # # Do not use tempfile.NamedTemporaryFile() directly, as this will # leak files on the filesystem when BuildStream exits a process |