fix formatting

This commit is contained in:
InsanePrawn 2022-01-27 14:27:39 +01:00
parent 209708a33e
commit 5bdc437f79
2 changed files with 3 additions and 1 deletions

View file

@ -277,8 +277,10 @@ class Chroot:
strict_cache_consistency: bool = False, strict_cache_consistency: bool = False,
): ):
"""returns the absolute path `relative_target` was mounted at""" """returns the absolute path `relative_target` was mounted at"""
def log_or_exc(msg): def log_or_exc(msg):
log_or_exception(strict_cache_consistency, msg, log_level=logging.ERROR) log_or_exception(strict_cache_consistency, msg, log_level=logging.ERROR)
relative_destination = relative_destination.lstrip('/') relative_destination = relative_destination.lstrip('/')
absolute_destination = self.get_path(relative_destination) absolute_destination = self.get_path(relative_destination)
pseudo_absolute = make_abs_path(relative_destination) pseudo_absolute = make_abs_path(relative_destination)