diff --git a/packaging_scripts/pacmanconf.py b/packaging_scripts/pacmanconf.py index 674457f..5b51a68 100644 --- a/packaging_scripts/pacmanconf.py +++ b/packaging_scripts/pacmanconf.py @@ -17,7 +17,7 @@ def parse_configfile(filepath): :type path: str, bytes, or path-like object :returns: object used to parse config file :rtype: ConfigParser object - :raises: FileNotFoundError if path does not exist + :raises FileNotFoundError: if path does not exist """ if not pathlib.Path(filepath).is_file(): raise FileNotFoundError(f"{filepath} does not exist") diff --git a/packaging_scripts/repos.py b/packaging_scripts/repos.py index d909b07..9ba3798 100644 --- a/packaging_scripts/repos.py +++ b/packaging_scripts/repos.py @@ -34,8 +34,8 @@ def db_modify(operation, db, *args): files are passed. Removing requires that the names of the packages are passed. :type args: str - :raises: RepoAddError if repo-add failed - :raises: ValueError if an invalid operation was specified + :raises RepoAddError: if repo-add failed + :raises ValueError: if an invalid operation was specified """ if operation == "add": syslog.info("Adding packages to database")