Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
Signed-off-by: javrin <jawabiscuit@users.noreply.github.com>
  • Loading branch information
Jawabiscuit committed Sep 15, 2023
1 parent a9aeb94 commit 9fa4af6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/rez/rex.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from rez.util import shlex_join, is_non_string_iterable
from rez.utils import reraise
from rez.utils.execution import Popen
from rez.utils.logging_ import print_debug
from rez.utils.sourcecode import SourceCode, SourceCodeError
from rez.utils.data_utils import AttrDictWrapper
from rez.utils.formatting import expandvars
Expand Down Expand Up @@ -614,13 +615,15 @@ def normalize_path(self, path):
Returns:
str: The normalized path.
"""
print_debug("ActionInterpreter normalize_path()")
return path

def normalize_paths(self, value):
"""Normalize value if it's a path(s).
Note that `value` may be more than one pathsep-delimited paths.
"""
print_debug("ActionInterpreter normalize_path[s]()")
paths = value.split(self.pathsep)
paths = [self.normalize_path(x) for x in paths]
return self.pathsep.join(paths)
Expand Down
1 change: 0 additions & 1 deletion src/rezplugins/shell/_utils/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import re
import subprocess
from rez.utils.execution import Popen
from rez.utils.logging_ import print_debug

_drive_start_regex = re.compile(r"^([A-Za-z]):\\")
_drive_regex_mixed = re.compile(r"([a-z]):/")
Expand Down
1 change: 0 additions & 1 deletion src/rezplugins/shell/csh.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from rez.util import shlex_join
from rez.utils.execution import Popen
from rez.utils.platform_ import platform_
from rez.utils.logging_ import print_debug
from rez.shells import UnixShell
from rez.rex import EscapedString

Expand Down
1 change: 0 additions & 1 deletion src/rezplugins/shell/sh.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from rez.config import config
from rez.utils.execution import Popen
from rez.utils.platform_ import platform_
from rez.utils.logging_ import print_debug
from rez.shells import UnixShell
from rez.rex import EscapedString

Expand Down

0 comments on commit 9fa4af6

Please sign in to comment.