[elbe-devel] [PATCH 9/9] elbepack: filesystem: drop unused chmod()

Thomas Weißschuh thomas.weissschuh at linutronix.de
Mon Jul 29 10:46:36 CEST 2024


All users are now using better APIs.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/filesystem.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/elbepack/filesystem.py b/elbepack/filesystem.py
index d05eb2d4d111..927a1abdcb65 100644
--- a/elbepack/filesystem.py
+++ b/elbepack/filesystem.py
@@ -269,9 +269,6 @@ class Filesystem:
     def chown(self, path, uid, gid):
         os.chown(self.fname(path), uid, gid)
 
-    def chmod(self, path, mode):
-        os.chmod(self.fname(path), mode)
-
     def remove(self, path, noerr=False):
         """
         >>> this.remove("remove") # doctest: +ELLIPSIS

-- 
2.45.2



More information about the elbe-devel mailing list