Skip to content

Commit

Permalink
Properly considers root_dir as a public attribute (including in doc)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel FORESTIER committed Dec 14, 2021
1 parent 32defc5 commit bf3106a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions distro.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}, "
Expand Down

0 comments on commit bf3106a

Please sign in to comment.