-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yumpkg: Avoid spurious logging in pkg.upgrade
An earlier commit added the ability to upgrade only specific packages. however, when no packages are passed to the this function, then pkg_resource.parse_targets will log an error. Rather than allowing this spurious error to be logged, this commit avoids this error by not running pkg_resource.parse_targets when no packages are passed to this function.
- Loading branch information
1 parent
0460edb
commit 40992f0
Showing
1 changed file
with
21 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters