From 6e2e600a1363775698a127346dc51a75f3d95c75 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Fri, 22 Feb 2019 07:35:52 -0800 Subject: [PATCH] Remove redundant exception code --- packaging_scripts/pacmanconf.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/packaging_scripts/pacmanconf.py b/packaging_scripts/pacmanconf.py index 3db21fa..e44bb92 100644 --- a/packaging_scripts/pacmanconf.py +++ b/packaging_scripts/pacmanconf.py @@ -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()