Chris Lumens wrote:
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.
I *think* it is the latter, this happened to me after an incomplete (crashed)
install.
Anyway this also solves an actual bug in bugzilla, so we should commit
this to master as well and close that bug out.
Bug nr?
Regards,
Hans
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list