local: don't use relpath in debug msgs

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-12-11 05:24:59 +02:00
parent b8e5c51424
commit cf8ab29129
+2 -9
View File
@@ -133,11 +133,7 @@ class RemoteLOCAL(RemoteBase):
if os.path.getsize(cache) == 0:
open(path, 'w+').close()
msg = "Created empty file: {} -> {}".format(
os.path.relpath(cache),
os.path.relpath(path),
)
msg = "Created empty file: {} -> {}".format(cache, path)
Logger.debug(msg)
return
@@ -151,10 +147,7 @@ class RemoteLOCAL(RemoteBase):
msg = "Created {}'{}': {} -> {}".format(
'protected ' if self.protected else '',
self.cache_types[0],
os.path.relpath(cache),
os.path.relpath(path)
)
self.cache_types[0], cache, path)
Logger.debug(msg)
return