提交 803e8a2b 编写于 作者: C Cleber Rosa

avocado.utils.archive: improve docstring for extract()

Which will return the first member of the archive, either a file or
directory.  If the archive is empty, it'll return None.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 4006f234
......@@ -168,7 +168,8 @@ class ArchiveFile(object):
Extract all files from the archive.
:param path: destination path.
:return: extracted folder name
:return: the first member of the archive, a file or directory or None
if the archive is empty
"""
self._engine.extractall(path)
if self.is_zip:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册