commit:     b96f33fad30027609291efd4983396b3f4b29a58
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 11 04:31:49 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Apr 11 04:31:49 2020 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b96f33fa

catalyst: Remove some dead code

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 catalyst/builder.py          | 16 ----------------
 catalyst/targets/snapshot.py |  3 ---
 2 files changed, 19 deletions(-)

diff --git a/catalyst/builder.py b/catalyst/builder.py
index 64e14c8d..fd8d5eb6 100644
--- a/catalyst/builder.py
+++ b/catalyst/builder.py
@@ -9,19 +9,3 @@ class generic():
                Useful for building x86-on-amd64 and such.
                """
                self.settings['CHROOT'] = 'setarch %s %s' % (arch, 
self.settings['CHROOT'])
-
-       def mount_safety_check(self):
-               """
-               Make sure that no bind mounts exist in chrootdir (to use before
-               cleaning the directory, to make sure we don't wipe the contents 
of
-               a bind mount
-               """
-               pass
-
-       def mount_all(self):
-               """do all bind mounts"""
-               pass
-
-       def umount_all(self):
-               """unmount all bind mounts"""
-               pass

diff --git a/catalyst/targets/snapshot.py b/catalyst/targets/snapshot.py
index c80d224f..b73135bc 100644
--- a/catalyst/targets/snapshot.py
+++ b/catalyst/targets/snapshot.py
@@ -33,9 +33,6 @@ class snapshot(TargetBase, GenBase):
                x=normpath(self.settings["storedir"]+"/snapshots")
                ensure_dirs(x)
 
-       def mount_safety_check(self):
-               pass
-
        def run(self):
                if "purgeonly" in self.settings["options"]:
                        self.purge()

Reply via email to