diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-03-05 12:58:39 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2009-03-05 12:58:39 +0100 |
commit | 5997cccc7dc69e6472828be6c403c0a8e71fba09 (patch) | |
tree | 3c46b1a762d93e5bb40ebc6f2043ca29c89d8d4d /installclasses | |
parent | 4360a5a38d908fc63df5d3a813cdebf4294df50c (diff) | |
download | anaconda-5997cccc7dc69e6472828be6c403c0a8e71fba09.tar.gz anaconda-5997cccc7dc69e6472828be6c403c0a8e71fba09.tar.xz anaconda-5997cccc7dc69e6472828be6c403c0a8e71fba09.zip |
More syntax errors / traceback fixes
More syntax errors / traceback fixes.
Diffstat (limited to 'installclasses')
-rw-r--r-- | installclasses/fedora.py | 3 |
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 |