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

Check if key is set before trying to get value #272

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

emi420
Copy link
Contributor

@emi420 emi420 commented Aug 28, 2024

What type of PR is this?

  • 🐛 Bug Fix

What does this PR do ?

If OSM_PASSWORD and OSM_USERNAME are not set as environment variables, the raw_backend --insert --replication ... command is failing because a piece of code that's trying to get an unset variable from the os.environ object.

This PR solves that issue.

@kshitijrajsharma kshitijrajsharma merged commit 8d3de47 into develop Aug 29, 2024
5 checks passed
@kshitijrajsharma kshitijrajsharma deleted the fix/notSetEnviron branch August 29, 2024 12:30
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.

2 participants