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 authored and HorlogeSkynet committed Feb 13, 2022
1 parent 7733ba2 commit abb3fee
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 @@ -719,10 +719,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 abb3fee

Please sign in to comment.