-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Remove un-needed function #68482
Remove un-needed function #68482
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That method is still used:
name = self.fetch_rpm_from_url(name) |
Please see the pull request you linked on how the method was replaced in other packaging modules.
@ChrisAHolland this PR contains the following merge commits: Please rebase your branch to remove these commits. |
Everything should be good now! |
With the method removed there are now some unused imports which should be removed as well. |
This needs to be resolved as well. |
I removed the 1 import for |
Also |
Now removed. |
Code looks good to me now. |
@mkrizek @maxamillion Any updates? I'm excited to have my first PR merged :) Thanks! |
I have missed this earlier but the lines 309 and 310 should be removed as well as the constant is now unused: # 64k. Number of bytes to read at a time when manually downloading pkgs via a url
BUFSIZE = 65536 |
Co-Authored-By: Martin Krizek <martin.krizek@gmail.com>
Co-Authored-By: Martin Krizek <martin.krizek@gmail.com>
@mkrizek Made the changes! I appreciate your help! |
Thanks for the help and merge! |
SUMMARY
Comments explaining this function state:
And it so appears that the PR has been merged some time ago, so let's reduce unnecessary code!
ISSUE TYPE
COMPONENT NAME
modules/packaging/os/dnf.py