[Yum-devel] [PATCH 1/2] Fix get_running_kernel_version_release
Seth Vidal
skvidal at fedoraproject.org
Wed Nov 4 19:37:46 UTC 2009
On Tue, 3 Nov 2009, James Antill wrote:
> ---
> yum/misc.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/yum/misc.py b/yum/misc.py
> index fbac3b5..ee1da35 100644
> --- a/yum/misc.py
> +++ b/yum/misc.py
> @@ -669,7 +669,7 @@ def get_running_kernel_version_release(ts):
> tuple for the running kernel."""
> pkgtup = get_running_kernel_pkgtup(ts)
> if pkgtup[0] is not None:
> - (pkgtup[3], pkgtup[4])
> + return (pkgtup[3], pkgtup[4])
> return (None, None)
>
> def find_unfinished_transactions(yumlibpath='/var/lib/yum'):
> --
> 1.6.2.5
ack
-sv
More information about the Yum-devel
mailing list