Skip to content

Remove duplicate PYTHONPATH environment variable in generate_container_start_cmd #1513

@coderabbitai

Description

@coderabbitai

Description

In components/clp-package-utils/clp_package_utils/general.py, the generate_container_start_cmd function defines the PYTHONPATH environment variable twice:

  1. Directly in the container_start_cmd array: "-e", f"PYTHONPATH={clp_site_packages_dir}"
  2. In the env_vars dictionary, which is then iterated to add environment variables to the command

This duplication occurred during branch syncs and should be cleaned up. While not harmful to correctness, only one definition is necessary.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions