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

Minor cleanup #343

Merged
merged 2 commits into from
Jun 17, 2024
Merged

Minor cleanup #343

merged 2 commits into from
Jun 17, 2024

Conversation

mirekdlugosz
Copy link
Contributor

I wanted to work on DISCOVERY-458 , but then I discovered that there's hardly anything to do. But since I was there already, I decided to clean up things a little.

f13d2ef removes filehandle.close() call after context manager. File is closed by context manager on exit.

a94d8f2 removes a bunch of variables from messages.py. These variables are no longer used - they generally belong to features that have since been removed (old insights upload, restart/pause, separate merge and upload), but some of them date back to when CLI and backend shared single repo - they were never really used in CLI.

These variables are not used any longer. They generally fall in 4
buckets:

- used in restart/pause, which was removed in
  834bf10
- used when merge and upload were two commands, before
  8244318
- used in old insights upload, removed in
  98c5476
- dating back to when qpc and quipucords were single codebase,
  before d24ed3d
@mirekdlugosz mirekdlugosz requested review from ruda and a team June 17, 2024 12:24
Copy link
Member

@nicolearagao nicolearagao left a comment

Choose a reason for hiding this comment

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

LGTM

@mirekdlugosz mirekdlugosz merged commit 3dead49 into main Jun 17, 2024
19 checks passed
@mirekdlugosz mirekdlugosz deleted the minor-cleanup branch June 17, 2024 14:07
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.

3 participants