--- pyanaconda/storage/__init__.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py index 825da11..6d0933d 100644 --- a/pyanaconda/storage/__init__.py +++ b/pyanaconda/storage/__init__.py @@ -2313,6 +2313,8 @@ class FSSet(object): # assemble the whole stack in one go unless listed in the proper order # in mdadm.conf arrays.sort(key=lambda d: d.path) + if not arrays: + return "" conf = "# mdadm.conf written out by anaconda\n" conf += "MAILADDR root\n" -- 1.7.4.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list