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 Feb 10, 2022
1 parent 18f11d7 commit 928cecd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/distro/distro.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,10 @@ def __init__(
parameter. This controls whether (AIX) oslevel information will be
loaded.
* ``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 @@ -758,6 +762,7 @@ def __repr__(self) -> str:
"include_lsb={self.include_lsb!r}, "
"include_uname={self.include_uname!r}, "
"include_oslevel={self.include_oslevel!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 928cecd

Please sign in to comment.