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
|
|
@ -34,6 +34,7 @@ SCHEMA_2 = """
|
|||
|
||||
|
||||
class NoOpMount(mounts.MountService):
|
||||
mountpoint = None
|
||||
|
||||
def mount(self, args: Dict):
|
||||
root = args["root"]
|
||||
|
|
|
|||
|
|
@ -104,8 +104,6 @@ class OSTreeDeploymentMount(mounts.MountService):
|
|||
self.mountpoint = tree
|
||||
self.check = True
|
||||
|
||||
return None
|
||||
|
||||
def umount(self):
|
||||
|
||||
if not self.mountpoint:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue