diff options
| author | Bernát Gábor <gaborjbernat@gmail.com> | 2022-11-27 19:49:58 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-27 19:49:58 -0800 |
| commit | 9bc1f9fb98fe2766a4f2c69f9738f89e3ce2cef0 (patch) | |
| tree | 6bdce3e5c581541bee58eacbda485d89a7189457 /src/virtualenv/activation/powershell | |
| parent | 4961931fe6497efb619f21983a8da4ee9ef04240 (diff) | |
| download | virtualenv-9bc1f9fb98fe2766a4f2c69f9738f89e3ce2cef0.tar.gz | |
Do not use deprecated API (#2448)
Diffstat (limited to 'src/virtualenv/activation/powershell')
| -rw-r--r-- | src/virtualenv/activation/powershell/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/virtualenv/activation/powershell/__init__.py b/src/virtualenv/activation/powershell/__init__.py index 6d561bf..4e74ecb 100644 --- a/src/virtualenv/activation/powershell/__init__.py +++ b/src/virtualenv/activation/powershell/__init__.py @@ -1,11 +1,9 @@ -from pathlib import Path - from ..via_template import ViaTemplateActivator class PowerShellActivator(ViaTemplateActivator): def templates(self): - yield Path("activate.ps1") + yield "activate.ps1" __all__ = [ |
