c646f8a Fix python2 compatibility

Authored and Committed by okozlov 5 years ago
    Fix python2 compatibility
    
    `which` function is ported to python2 and used in `ipalib.util.get_pager`, fixed import in `ipatests.test_ipalib.test_util` - `mock` will be imported from `python2-mock` package in case of python2
    
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    
        
file modified
+34 -2