diff options
Diffstat (limited to 'dlpcvp.py')
-rwxr-xr-x | dlpcvp.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,7 +31,7 @@ config = configparser.ConfigParser() config.read(ConfigRCs) logging.basicConfig(format='%(levelname)s:%(funcName)s:%(message)s', - stream=sys.stdout, level=logging.DEBUG) + stream=sys.stdout, level=logging.INFO) log = logging.getLogger() # or HTTPPasswordMgrWithPriorAuth ? @@ -234,7 +234,7 @@ def package_version(proj: str, pkgn: str, if etag_spcf or etag_fn: update_etags(con, pkgn, etag_fn, etag_spcf, None) - return parse_spec(spec_file_str, pkgn) + return parse_spec(spec_file_str) except HTTPError as ex: if ex.getcode() == 404: log.warning(f'Cannot parse SPEC file {spc_fname} for {pkgn}') |