buildroot: rename path argument to rundir
This matches the internal, "private", property and better describes what the variable is for. Additionally, make it into a proper keyword argument.
This commit is contained in:
parent
749f59cc9a
commit
48418be8de
1 changed files with 2 additions and 2 deletions
|
|
@ -59,10 +59,10 @@ class BuildRoot(contextlib.AbstractContextManager):
|
|||
only when exiting the context manager.
|
||||
"""
|
||||
|
||||
def __init__(self, root, runner, libdir, var, path="/run/osbuild"):
|
||||
def __init__(self, root, runner, libdir, var, *, rundir="/run/osbuild"):
|
||||
self._exitstack = None
|
||||
self._rootdir = root
|
||||
self._rundir = path
|
||||
self._rundir = rundir
|
||||
self._vardir = var
|
||||
self._libdir = libdir
|
||||
self._runner = runner
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue