aboutsummaryrefslogtreecommitdiffstats
path: root/dlpcvp.py
diff options
context:
space:
mode:
Diffstat (limited to 'dlpcvp.py')
-rwxr-xr-xdlpcvp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dlpcvp.py b/dlpcvp.py
index 6c4a300..c786741 100755
--- a/dlpcvp.py
+++ b/dlpcvp.py
@@ -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}')