[blivet:f21-branch 08/14] Break once metadata value is found.

mulhern amulhern at redhat.com
Mon Sep 29 17:22:55 UTC 2014


Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/devicelibs/mdraid.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/blivet/devicelibs/mdraid.py b/blivet/devicelibs/mdraid.py
index a391c3f..21578a2 100644
--- a/blivet/devicelibs/mdraid.py
+++ b/blivet/devicelibs/mdraid.py
@@ -315,6 +315,7 @@ def mdexamine(device):
 
             if name == "metadata":
                 info["MD_METADATA"] = value
+                break
 
     process_UUIDS(info, ('MD_UUID', 'MD_DEV_UUID'))
 
-- 
1.9.3



More information about the anaconda-patches mailing list