f044643 Use os.path.isfile() and isdir()

26 files Authored by cheimes 6 years ago, Committed by tdudlak 6 years ago,
    Use os.path.isfile() and isdir()
    
    Replace custom file_exists() and dir_exists() functions with proper
    functions from Python's stdlib.
    
    The change also gets rid of pylint's invalid bad-python3-import error,
    https://github.com/PyCQA/pylint/issues/1565
    
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
    
        
file modified
+1 -1
file modified
+12 -14
file modified
+1 -1
file modified
+2 -2
file modified
+2 -18
file modified
+2 -2
file modified
+2 -2
file modified
+2 -1
file modified
+1 -1