[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH storage]: More syntax errors / traceback fixes
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: Re: [PATCH storage]: More syntax errors / traceback fixes
- Date: Thu, 5 Mar 2009 08:54:25 -0500
> diff --git a/installclasses/fedora.py b/installclasses/fedora.py
> index bfd9a55..087e2d3 100644
> --- a/installclasses/fedora.py
> +++ b/installclasses/fedora.py
> @@ -79,6 +79,9 @@ class InstallClass(BaseInstallClass):
> return yuminstall.YumBackend
>
> def productMatches(self, oldprod):
> + if oldprod is None:
> + return False
> +
> if oldprod.startswith(productName):
> return True
The one thing that concerns me here is why oldprod is None. I wonder if
we are failing to read the installed system correctly, or if we just
pass in None if there's no product file.
Anyway this also solves an actual bug in bugzilla, so we should commit
this to master as well and close that bug out.
- Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]