Skip to content

Commit

Permalink
Remove debug code
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 5a62599 commit af4365d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/rez/utils/cygpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
TODO: refactor and use filesystem utils
"""
import os
import re

_drive_start_regex = re.compile(r"^([A-Za-z]):\\")
Expand All @@ -30,13 +31,6 @@ def convert_path(path, mode='unix', force_fwdslash=False):
Returns:
str: Converted path.
"""
import os
if os.environ["__REZ_SELFTEST_RUNNING"] == "1":
print("=" * 80)
print("cygpath.convert_path __REZ_SELFTEST_RUNNING")
print("cygpath.convert_path")
# print("globals: {}".format(globals()))

# expand refs like %SYSTEMROOT%, leave as-is if not in environ
def _repl(m):
varname = m.groups()[0]
Expand Down

0 comments on commit af4365d

Please sign in to comment.