try:
cryptTab.parse(chroot=chroot)
log.debug("crypttab maps: %s" % cryptTab.mappings.keys())
@@ -1472,17 +1472,17 @@ class FSSet(object):
def write(self, instPath):
""" write out all config files based on the set of
filesystems """
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
03-05-2009, 12:54 PM
Chris Lumens
: More syntax errors / traceback fixes
> 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
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
03-05-2009, 05:11 PM
Hans de Goede
: More syntax errors / traceback fixes
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
03-05-2009, 06:12 PM
Chris Lumens
: More syntax errors / traceback fixes
>> 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.
Okay, that's fine then.
>> 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?
487661, which I will close out right now.
- Chris
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list