[elbe-devel] [PATCH 5/6] Revert "Ignore DeprecationWarning from crypt"

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Feb 22 14:22:12 CET 2024


This reverts commit 32f6c0dff6a8a87a0ed5f5731a55fb6ec87b97c7.

The warning is now not a hard error anymore.

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

diff --git a/elbepack/db.py b/elbepack/db.py
index db46672e87d6..b0145cc41353 100644
--- a/elbepack/db.py
+++ b/elbepack/db.py
@@ -17,10 +17,7 @@ from elbepack.dosunix import dos2unix
 from elbepack.elbeproject import ElbeProject
 from elbepack.elbexml import ElbeXML, ValidationMode
 
-try:
-    from passlib.hash import pbkdf2_sha512
-except DeprecationWarning:
-    pass
+from passlib.hash import pbkdf2_sha512
 
 from sqlalchemy import (
     Boolean,
-- 
2.43.2



More information about the elbe-devel mailing list