]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - pkgs/python-packages/blivet/fix_path.patch
Squash changes containing private information
[perso/Immae/Config/Nix.git] / pkgs / python-packages / blivet / fix_path.patch
diff --git a/pkgs/python-packages/blivet/fix_path.patch b/pkgs/python-packages/blivet/fix_path.patch
deleted file mode 100644 (file)
index 29c4052..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git a/blivet/tasks/fsmount.py b/blivet/tasks/fsmount.py
-index 15f79a3e..bb3fe873 100644
---- a/blivet/tasks/fsmount.py
-+++ b/blivet/tasks/fsmount.py
-@@ -19,6 +19,7 @@
- #
- # Red Hat Author(s): Anne Mulhern <amulhern@redhat.com>
-+from distutils.spawn import find_executable
- import os
- from ..errors import FSError
-@@ -58,7 +59,7 @@ class FSMount(task.BasicApplication, fstask.FSTask):
-     @property
-     def _can_mount(self):
-         return (self.mount_type in fslib.kernel_filesystems) or \
--            (os.access("/sbin/mount.%s" % (self.mount_type,), os.X_OK)) or \
-+            (find_executable("mount.%s" % (self.mount_type,)) is not None) or \
-             self._has_driver
-     @property