diff options
| author | Bernát Gábor <bgabor8@bloomberg.net> | 2020-02-10 14:54:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-10 14:54:06 +0000 |
| commit | 2378b50b6a31c5e64d1af0dca9c55d9f1c63c789 (patch) | |
| tree | 42a4e91e1643dc3fd82bdc6d1f5a9c64491561f0 /src/virtualenv/util/path | |
| parent | 5c9b6246a4107e5e613a23c42b805d0373672400 (diff) | |
| download | virtualenv-2378b50b6a31c5e64d1af0dca9c55d9f1c63c789.tar.gz | |
fix system executable discovery (#1550)
* fix system executable discovery
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* time to eat our own dogfood
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* seems Path.absolute should not be used
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
Diffstat (limited to 'src/virtualenv/util/path')
| -rw-r--r-- | src/virtualenv/util/path/_pathlib/via_os_path.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/virtualenv/util/path/_pathlib/via_os_path.py b/src/virtualenv/util/path/_pathlib/via_os_path.py index 44bd2bf..56315c1 100644 --- a/src/virtualenv/util/path/_pathlib/via_os_path.py +++ b/src/virtualenv/util/path/_pathlib/via_os_path.py @@ -52,9 +52,6 @@ class Path(object): def exists(self): return os.path.exists(self._path) - def absolute(self): - return Path(os.path.abspath(self._path)) - @property def parent(self): return Path(os.path.abspath(os.path.join(self._path, os.path.pardir))) |
