Skip to content

Commit

Permalink
Removes subprocess.CalledProcessError from possible exceptions
Browse files Browse the repository at this point in the history
`subprocess.CalledProcessError` exceptions are now caught since 9260b7b
  • Loading branch information
Samuel FORESTIER committed Feb 10, 2022
1 parent d6d733a commit 18f11d7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/distro/distro.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,10 +718,6 @@ def __init__(
* :py:exc:`OSError`: Some I/O issue with an os-release file or distro
release file.
* :py:exc:`subprocess.CalledProcessError`: The lsb_release command had
some issue (other than not being available in the program execution
path).
* :py:exc:`UnicodeError`: A data source has unexpected characters or
uses an unexpected encoding.
"""
Expand Down

0 comments on commit 18f11d7

Please sign in to comment.