summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/fedora.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/installclasses/fedora.py b/installclasses/fedora.py
index bfd9a5556..087e2d377 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