Skip to content

Commit

Permalink
remove pointless unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd committed Sep 27, 2024
1 parent 4ea32d9 commit 99de71e
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions scripts/devops_tasks/tox_harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from ci_tools.ci_interactions import output_ci_warning
from ci_tools.scenario.generation import replace_dev_reqs
from ci_tools.functions import cleanup_directory
from ci_tools.parsing import ParsedSetup, get_ci_config
from ci_tools.parsing import ParsedSetup
from pkg_resources import parse_requirements, RequirementParseError
import logging

Expand Down Expand Up @@ -195,16 +195,6 @@ def cleanup_tox_environments(tox_dir: str, command_array: str) -> None:
cleanup_directory(tox_dir)


def handle_proxy_presence(package_path: str) -> None:
ci_config = get_ci_config(package_path)

if ci_config:
proxy_enabled = ci_config.get("extends", {}).get("parameters", {}).get("TestProxy", True)
if not proxy_enabled:
os.environ.pop("SSL_CER_DIR", None)
os.environ.pop("REQUESTS_CA_BUNDLE", None)


def execute_tox_serial(tox_command_tuples):
return_code = 0

Expand Down

0 comments on commit 99de71e

Please sign in to comment.