From: Michael Tremer Date: Sun, 21 Mar 2021 13:08:07 +0000 (+0000) Subject: base: Drop unused make_path function X-Git-Tag: 0.9.28~1285^2~501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d9655412bd0c5d26aa23257b955682e96aacc94;p=pakfire.git base: Drop unused make_path function Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/base.py b/src/pakfire/base.py index 0d0a0dab7..095aa11a2 100644 --- a/src/pakfire/base.py +++ b/src/pakfire/base.py @@ -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