The source project of this merge request has been removed.
Import pathlib/pathlib2 and contextlib/contextlib2 based on python version
Instead of checking for an ImportError use sys.version_info to decide which package of pathlib or pathlib2 to use. The same holds true for contextlib vs contextlib2.