tree: fix pylint warnings
This fixes pylint warnings on our modules that are currently not part of CI-pylint. The fixes should all be straightforward. Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
This commit is contained in:
parent
cdd65d4fd9
commit
8c367dfa6f
6 changed files with 12 additions and 11 deletions
|
|
@ -133,7 +133,7 @@ class OSTreeInput(inputs.InputService):
|
|||
if origin == "org.osbuild.pipeline":
|
||||
for ref, options in refs.items():
|
||||
source = store.read_tree(ref)
|
||||
with open(os.path.join(source, "compose.json"), "r") as f:
|
||||
with open(os.path.join(source, "compose.json"), "r", encoding="utf8") as f:
|
||||
compose = json.load(f)
|
||||
commit_id = compose["ostree-commit"]
|
||||
reply = export({commit_id: options}, source, target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue