Commit c27142ff by Riccardo Albertazzi Committed by GitHub

refactor: remove unused execute_operations variable (#7886)

parent 5d684a36
...@@ -56,8 +56,6 @@ class Installer: ...@@ -56,8 +56,6 @@ class Installer:
self._write_lock = True self._write_lock = True
self._groups: Iterable[str] | None = None self._groups: Iterable[str] | None = None
self._skip_directory = False self._skip_directory = False
self._execute_operations = True
self._lock = False self._lock = False
self._whitelist: list[NormalizedName] = [] self._whitelist: list[NormalizedName] = []
...@@ -102,7 +100,6 @@ class Installer: ...@@ -102,7 +100,6 @@ class Installer:
if self.is_dry_run(): if self.is_dry_run():
self.verbose(True) self.verbose(True)
self._write_lock = False self._write_lock = False
self._execute_operations = False
return self._do_install() return self._do_install()
...@@ -160,8 +157,6 @@ class Installer: ...@@ -160,8 +157,6 @@ class Installer:
return self._update return self._update
def execute_operations(self, execute: bool = True) -> Installer: def execute_operations(self, execute: bool = True) -> Installer:
self._execute_operations = execute
if not execute: if not execute:
self._executor.disable() self._executor.disable()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment