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

apply blacklist #410

Merged
merged 5 commits into from
Aug 20, 2024
Merged

apply blacklist #410

merged 5 commits into from
Aug 20, 2024

Conversation

andre-merzky
Copy link
Member

This is in support of radical.pilot/issues/3183

Copy link

codecov bot commented Jun 27, 2024

Codecov Report

Attention: Patch coverage is 60.86957% with 9 lines in your changes missing coverage. Please review.

Please upload report for BASE (devel@db228c5). Learn more about missing BASE report.
Report is 6 commits behind head on devel.

Files Patch % Lines
src/radical/utils/env.py 60.86% 9 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             devel     #410   +/-   ##
========================================
  Coverage         ?   61.95%           
========================================
  Files            ?       62           
  Lines            ?     6845           
  Branches         ?        0           
========================================
  Hits             ?     4241           
  Misses           ?     2604           
  Partials         ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines 78 to 83
data += 'unset %s\n' % k
data += '\n'

env = {k: v for k, v in env.items() if k not in BLACKLIST}

if blacklist:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a confusion between BLACKLIST (which env variables are unset) and blacklist (which env variables are skipped)

Besides this all looks good

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I renamed BLACKLIST to IGNORE_LIST now.

@andre-merzky andre-merzky merged commit 3a891bf into devel Aug 20, 2024
9 checks passed
@andre-merzky andre-merzky deleted the feature/env_blacklist branch August 20, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants