-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify code for determining the PYTHONPAH module entries
The check whether the path(s) have already been added is redundant as that is done in the module_generator class. The whole code with all the checks is superflous if there are no python paths to add. To avoid excessive indentation return early with an empty list in that case and same for Python installations for consistency.
- Loading branch information
Showing
1 changed file
with
26 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters