summaryrefslogtreecommitdiff
path: root/lbup/_mountinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'lbup/_mountinfo.py')
-rw-r--r--lbup/_mountinfo.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/lbup/_mountinfo.py b/lbup/_mountinfo.py
index d2640ce..dc925d8 100644
--- a/lbup/_mountinfo.py
+++ b/lbup/_mountinfo.py
@@ -137,12 +137,6 @@ class MountInfo:
def __str__(self):
return '%s(%d entries)' % (self.__class__.__name__, len(self.mounts))
- def entries_for_mountpoint(self, mountpoint):
- """
- Iterate over all mountinfo entries mounted at the given mountpoint.
- """
- return filter(lambda entry: entry.mount_point == mountpoint, self.mounts.values())
-
def mountpoint_for_path(self, path):
"""
Find the mount entry which contains path.