diff --git a/melamine/classes.py b/melamine/classes.py index b2ddf66..de807e3 100644 --- a/melamine/classes.py +++ b/melamine/classes.py @@ -20,8 +20,9 @@ class ShredDir: self.processed = False self.contents = self._get_contents() self.byte_size = sum(item.byte_size for item in self.contents) + self.mount_point = find_mount(self.absolute_path) self.mount_points = set(m for m in self.get_mount_points()) - self.mount_points.add(find_mount(self.absolute_path)) + self.mount_points.add(self.mount_point) self.fs_handler = None def _get_contents(self) -> List: diff --git a/melamine/cli.py b/melamine/cli.py index d2dda72..649b914 100644 --- a/melamine/cli.py +++ b/melamine/cli.py @@ -11,7 +11,7 @@ from .validators import * def run() -> None: validate_environment() - parser = ArgumentParser(description="Comprehensive DoD 5220.22-M file shredder for Linux.") + parser = ArgumentParser(description="Comprehensive DoD 5220.22-M-compliant file shredder for Linux.") parser.add_argument( "--recursive", "-r", action="store_true", help="Process directories recursively. Default is false." ) diff --git a/pyproject.toml b/pyproject.toml index 3be8c1b..3044a4c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "melamine" version = "0.0.1" authors = [{ name = "pdf", email = "git@nixon.mozmail.com" }] -description = "A comprehensive file shredder for Linux" +description = "Comprehensive DoD 5220.22-M-compliant file shredder for Linux" readme = "README.md" requires-python = ">=3.9" license = { text = "MIT" }