From bf3106a0180721c610829f1b99fae6e2ee681a2b Mon Sep 17 00:00:00 2001 From: Samuel FORESTIER Date: Mon, 1 Nov 2021 11:06:03 +0100 Subject: [PATCH] Properly considers `root_dir` as a public attribute (including in doc) --- distro.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/distro.py b/distro.py index d1e44f6..3bab24f 100755 --- a/distro.py +++ b/distro.py @@ -711,6 +711,10 @@ def __init__( ``include_third_bins`` parameter. This controls whether information will be loaded from third-party binaries. + * ``root_dir`` (string): The result of the ``root_dir`` parameter. + The absolute path to the root directory to use to find distro-related + information files. + Raises: * :py:exc:`OSError`: Some I/O issue with an os-release file or distro @@ -756,6 +760,7 @@ def __repr__(self) -> str: "include_lsb={self.include_lsb!r}, " "include_uname={self.include_uname!r}, " "include_third_bins={self.include_third_bins!r}, " + "root_dir={self.root_dir!r}, " "_os_release_info={self._os_release_info!r}, " "_lsb_release_info={self._lsb_release_info!r}, " "_distro_release_info={self._distro_release_info!r}, "