ba22362 [init] Remove duplicated checks for comps

2 files Authored by lsedlar 8 years ago, Committed by ausil 8 years ago,
    [init] Remove duplicated checks for comps
    
    Check once before iterating through the variants. This greatly
    simplifies the tests as each function now has one less code path.
    
    Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
    
        
file modified
+18 -32
file modified
+22 -56