Skip to content

Commit

Permalink
Fix weird issue with repeated lines and Git
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Dec 25, 2024
1 parent b7fea7e commit 88a3383
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions python/lvmecp/actor/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@

from clu.tools import ActorHandler
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task
from sdsstools.utils import cancel_task

from lvmecp import __version__, log
from lvmecp.actor.commands import parser
Expand Down Expand Up @@ -67,25 +54,13 @@ def __init__(
if plc is None:
plc_config = plc_config or self.config
self.plc = PLC(config=plc_config, actor=self, start_modules=False)
self.plc = PLC(config=plc_config, actor=self, start_modules=False)
self.plc = PLC(config=plc_config, actor=self)
self.plc = PLC(config=plc_config, actor=self, start_modules=False)
self.plc = PLC(config=plc_config, actor=self, start_modules=False)
self.plc = PLC(config=plc_config, actor=self)
self.plc = PLC(config=plc_config, actor=self, start_modules=False)
else:
self.plc = plc

self.semaphore = asyncio.Semaphore(5)

self._emit_status_task: asyncio.Task | None = None

self._emit_status_task: asyncio.Task | None = None

self.running: bool = False

async def start(self, **kwargs):
"""Starts the actor."""

await super().start(**kwargs)
self.running = True
Expand Down

0 comments on commit 88a3383

Please sign in to comment.