[elbe-devel] [PATCH] elbepack: db: remove list_projects_of()
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Wed Aug 14 15:56:48 CEST 2024
It was never used.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
elbepack/db.py | 8 --------
1 file changed, 8 deletions(-)
diff --git a/elbepack/db.py b/elbepack/db.py
index bf60afcc61cc..1aa1d6d7f720 100644
--- a/elbepack/db.py
+++ b/elbepack/db.py
@@ -135,14 +135,6 @@ class ElbeDB:
ret.append(ProjectData(p))
return ret
- def list_projects_of(self, userid):
- with session_scope(self.session) as s:
- res = s.query(Project).filter(Project.owner_id == userid).all()
- ret = []
- for p in res:
- ret.append(ProjectData(p))
- return ret
-
def get_project_data(self, builddir):
# Can throw: ElbeDBError
if not os.path.exists(builddir):
---
base-commit: e773c9b1a3d631b593bf103cc2f24a9c21c6f7bc
change-id: 20240814-list_projects_of-559365e65774
Best regards,
--
Thomas Weißschuh <thomas.weissschuh at linutronix.de>
More information about the elbe-devel
mailing list