Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to the problem of reading config multiple times (clone) #2140

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

egede
Copy link
Member

@egede egede commented Mar 24, 2023

The load_config_files function of GangaCore Config init would read system config variables in a loop, and set session variables in each loop cycle. This would cause the config file to be read multiple times. This commit moves the reading of user config and setting of session variables outside the loop.

The load_config_files function of GangaCore Config init would read
system config variables in a loop, and set session variables in each
loop cycle. This would cause the config file to be read multiple times.
This commit moves the reading of user config and setting of session
variables outside the loop.

Signed-off-by: Vedansh Bhartia <vedanshbhartia@gmail.com>
@egede egede changed the title Fixes #2129 Fix to the problem of reading config multiple times (clone) Mar 24, 2023
@egede
Copy link
Member Author

egede commented Mar 24, 2023

@alexanderrichards @mesmith75 Please review the PR clone here as well.

@mesmith75 mesmith75 merged commit 865338c into develop Mar 28, 2023
@mesmith75 mesmith75 deleted the fix_config_clone branch March 28, 2023 09:14
mesmith75 added a commit that referenced this pull request Mar 28, 2023
…clone

PEP8 fixes for PR #2140 (fix_config_clone) by autopep8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants