dbced86 Do not compare with a empty list

Authored and Committed by cqi 4 years ago
    Do not compare with a empty list
    
    An empty list [] is evaluated as a false value. So, it is not necessary
    to compare like "if some_var == []:".
    
    Signed-off-by: Chenxiong Qi <cqi@redhat.com>