1bcc0d6 pylint 1.4.3 version fixes

24 files Authored by simo 8 years ago, Committed by rcritten 8 years ago,
    pylint 1.4.3 version fixes
    
    Pylint 1.4.3 completely stopped recognizing the star-args condition.
    In order to avoid pylint error with > 1.4.3 stop caring for star-args
    and add cmdline option to ignore those errors completly so older pylint
    versions are happy too.
    
    Also fix type() vs isinstance() checks, isinstance is generally a more
    correct approach to check for classes.
    
    In some 'admin' files the type() -> isinstance() fix required to invert
    the order in which ComplexList and MappingList are checked as the latter
    is a subclass of ComplexList, so it needs to be checked first otherwise
    the check for isinstance(option, ComplexList) matches for both and the
    code stops functioning properly.
    
    Signed-off-by: Simo Sorce <simo@redhat.com>
    Reviewed-by: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+2 -0
file modified
+4 -6
file modified
+0 -1
file modified
+1 -1
file modified
+1 -1
file modified
+0 -1
file modified
+1 -1
file modified
+1 -1
file modified
+0 -1
file modified
+0 -1
file modified
+0 -1
file modified
+0 -1
file modified
+1 -1
file modified
+9 -9
file modified
+0 -1
file modified
+0 -1
file modified
+0 -1
file modified
+0 -2
file modified
+1 -1
file modified
+0 -1