Remove redundant exception code

This commit is contained in:
Eric Torres 2019-02-22 07:35:52 -08:00
parent c69ed345f3
commit 6e2e600a13

View File

@ -35,9 +35,6 @@ def list_configured_repos():
:returns: all repos configured on the system
:rtype: list
"""
if not PACMAN_CONF.is_file():
raise FileNotFoundError(f"{PACMAN_CONF} was not found")
parsed_config = parse_configfile(PACMAN_CONF)
repos = parsed_config.sections()