]> git.ipfire.org Git - pakfire.git/commitdiff
base: Drop unused make_path function
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Mar 2021 13:08:07 +0000 (13:08 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 21 Mar 2021 13:08:07 +0000 (13:08 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/base.py

index 0d0a0dab7ecd9e5a8f43a934a1044d43fc61aa8d..095aa11a2451fec6e9478b9f1df18c1c56dd12c0 100644 (file)
@@ -72,16 +72,6 @@ class Pakfire(_pakfire.Pakfire):
 
                return log
 
-       def make_path(self, path):
-               """
-                       Returns path relative to the (base)path
-                       of this Pakfire instance.
-               """
-               while path.startswith("/"):
-                       path = path[1:]
-
-               return os.path.join(self.path, path)
-
        def __enter__(self):
                """
                        Called to initialize this Pakfire instance when