jrd/pylibsalt — pull request #2 by mimosa67 (2014-06-28 15:14:37+00:00)
Title: tidied up version of patch to use fdisk instead of file to catch extended partition

doesn't matter about if partition is a file because this will never happen with extended partition
so only perform this check if path in /dev