Skip to content

Commit

Permalink
Support old and new location for ExecutionProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Feb 2, 2023
1 parent 02d8325 commit 2ce1ef2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/lsst/ctrl/bps/parsl/sites/work_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
from parsl.executors.base import ParslExecutor
from parsl.launchers import SrunLauncher
from parsl.providers import LocalProvider
from parsl.providers.provider_base import ExecutionProvider

try:
from parsl.providers.base import ExecutionProvider
except ImportError:
from parsl.providers.provider_base import ExecutionProvider # type: ignore

from ..configuration import get_bps_config_value
from ..site import SiteConfig
Expand Down

0 comments on commit 2ce1ef2

Please sign in to comment.