devices/loopback: remove extra "'" from print
There is an extra `'` character in the print messages that shows which file we are using.
This commit is contained in:
parent
221381b2de
commit
bf5a7cdbb0
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class LoopbackService(devices.DeviceService):
|
|||
path = os.path.join(tree, filename.lstrip("/"))
|
||||
|
||||
self.fd = os.open(path, os.O_RDWR | os.O_CLOEXEC)
|
||||
print(f"file '{filename}'' opened as {self.fd}")
|
||||
print(f"file '{filename}' opened as {self.fd}")
|
||||
try:
|
||||
self.lo = self.make_loop(self.fd, start, size, lock)
|
||||
except Exception as error: # pylint: disable: broad-except
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue