aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_emerge/EbuildBuildDir.py')
-rw-r--r--lib/_emerge/EbuildBuildDir.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/_emerge/EbuildBuildDir.py b/lib/_emerge/EbuildBuildDir.py
index 78f98d2b5..71a258f89 100644
--- a/lib/_emerge/EbuildBuildDir.py
+++ b/lib/_emerge/EbuildBuildDir.py
@@ -12,7 +12,6 @@ from portage.util.SlotObject import SlotObject
class EbuildBuildDir(SlotObject):
-
__slots__ = ("scheduler", "settings", "locked", "_catdir", "_lock_obj")
def __init__(self, **kwargs):
@@ -23,7 +22,7 @@ class EbuildBuildDir(SlotObject):
if async_lock.returncode != os.EX_OK:
# TODO: create a better way to propagate this error to the caller
raise AssertionError(
- "AsynchronousLock failed with returncode %s" % (async_lock.returncode,)
+ f"AsynchronousLock failed with returncode {async_lock.returncode}"
)
def clean_log(self):