-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BREAKING] Exclude subprocess data sources when
root_dir
is specified
The global idea here is about preferring no data instead of false ones if `root_dir` parameter is set (as this may result in calling a binary returning, for instance, host information). Developers used to set `root_dir` and purposely including LSB, uname or oslevel commands will now get a `ValueError` exception during class initialization. See #311 for complete thread and rationale.
- Loading branch information
Samuel FORESTIER
committed
Feb 13, 2022
1 parent
bfe115d
commit bee21c1
Showing
1 changed file
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters