fixed parse_pkgbuild not returning anything; some logix fixes
This commit is contained in:
4
utils.py
4
utils.py
@@ -1,7 +1,6 @@
|
||||
import logging
|
||||
import os
|
||||
import pathlib
|
||||
import pprint
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
@@ -37,8 +36,7 @@ def parse_pkgbuild(pkgbuild_file: str) -> dict:
|
||||
if errors:
|
||||
logging.warning("[PKGBUILD] Failed to parse: %s", pkgbuild_path.name)
|
||||
return {}
|
||||
|
||||
pprint.pp(parsed)
|
||||
return parsed
|
||||
|
||||
|
||||
def parse_pkgbuild_ver(pkgbuild_file: str) -> LegacyVersion:
|
||||
|
Reference in New Issue
Block a user