Skip to content

Commit

Permalink
refactor: remove unused execute_operations variable (#7886)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralbertazzi authored May 7, 2023
1 parent 5d684a3 commit c27142f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/poetry/installation/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ def __init__(
self._write_lock = True
self._groups: Iterable[str] | None = None
self._skip_directory = False

self._execute_operations = True
self._lock = False

self._whitelist: list[NormalizedName] = []
Expand Down Expand Up @@ -102,7 +100,6 @@ def run(self) -> int:
if self.is_dry_run():
self.verbose(True)
self._write_lock = False
self._execute_operations = False

return self._do_install()

Expand Down Expand Up @@ -160,8 +157,6 @@ def is_updating(self) -> bool:
return self._update

def execute_operations(self, execute: bool = True) -> Installer:
self._execute_operations = execute

if not execute:
self._executor.disable()

Expand Down

0 comments on commit c27142f

Please sign in to comment.