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
|
|
@ -140,11 +140,11 @@ class CryptDeviceService(devices.DeviceService):
|
|||
self.devname = None
|
||||
|
||||
# finally close the device
|
||||
res = subprocess.run(["cryptsetup", "-q", "close", name],
|
||||
check=self.check,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
encoding="UTF-8")
|
||||
subprocess.run(["cryptsetup", "-q", "close", name],
|
||||
check=self.check,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
encoding="UTF-8")
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue