mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-04 10:25:25 +01:00
Change some formats to f-strings
As pylint recommends.
This commit is contained in:
parent
8857f53cd1
commit
a8a9056f1d
3 changed files with 7 additions and 7 deletions
4
sysc.py
4
sysc.py
|
|
@ -35,9 +35,9 @@ class SysC(SysGeneral):
|
|||
def __del__(self):
|
||||
if not self.preserve_tmp:
|
||||
if not self.chroot:
|
||||
print("Deleting %s" % (self.dev_name))
|
||||
print(f"Deleting {self.dev_name}")
|
||||
run('sudo', 'losetup', '-d', self.dev_name)
|
||||
print("Unmounting tmpfs from %s" % (self.tmp_dir))
|
||||
print(f"Unmounting tmpfs from {self.tmp_dir}")
|
||||
umount(self.tmp_dir)
|
||||
os.rmdir(self.tmp_dir)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue