From bc049eedece218f66277978bace2de0491af5963 Mon Sep 17 00:00:00 2001 From: Quentin Legrand Date: Thu, 13 Jun 2019 13:58:23 +0200 Subject: [PATCH] Remove unused variable --- ldapcherry/exceptions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ldapcherry/exceptions.py b/ldapcherry/exceptions.py index a6371fa..7922b9c 100644 --- a/ldapcherry/exceptions.py +++ b/ldapcherry/exceptions.py @@ -274,7 +274,6 @@ def exception_decorator(func): message="User '" + user + "' already exist" ) elif et is GroupDoesntExist: - group = e.group return self.temp['error.tmpl'].render( is_admin=is_admin, alert='danger',