tree: pep8 + linter fixes
For some reasons I forgot to fix those in the previous runs. Fix a linter and pep8 warning. Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
This commit is contained in:
parent
f3033dd579
commit
2d6d902428
3 changed files with 5 additions and 2 deletions
|
|
@ -573,7 +573,8 @@ LocalFileSigLevel = Optional
|
|||
cfgfile.write(f"[{rid}]\n")
|
||||
cfgfile.write(f"Server = {url}\n")
|
||||
|
||||
def _pacman(self, *args):
|
||||
@staticmethod
|
||||
def _pacman(*args):
|
||||
return subprocess.check_output(["pacman", *args], encoding="utf-8")
|
||||
|
||||
def resolve(self, packages, _):
|
||||
|
|
@ -1228,6 +1229,7 @@ class ManifestFile:
|
|||
name = desc.get("id", "image")
|
||||
self.vars[name] = Image.from_dict(desc)
|
||||
|
||||
# pylint: disable=no-self-use
|
||||
def get_pipeline_name(self, node):
|
||||
return node.get("name", "")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue