From 2b8362039a310c7b99c268fdef7fb3ab93facf13 Mon Sep 17 00:00:00 2001 From: Dirk Wiesenthal Date: Thu, 27 Jun 2024 09:54:15 +0200 Subject: [PATCH] Bug #53333: ruff formatting --- .../modules/univention/udm/modules/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/univention-directory-manager-modules/modules/univention/udm/modules/generic.py b/management/univention-directory-manager-modules/modules/univention/udm/modules/generic.py index ecaaacca36f..00740da7e08 100644 --- a/management/univention-directory-manager-modules/modules/univention/udm/modules/generic.py +++ b/management/univention-directory-manager-modules/modules/univention/udm/modules/generic.py @@ -598,7 +598,7 @@ def search(self, filter_s='', base='', scope='sub', sizelimit=0): try: retrieved_obj = self.get(dn) except NoObject: - logging.getLogger('ADMIN').warning('Skipping over search result with DN {!r}, that does not exist anymore'.format(dn)) + logging.getLogger('ADMIN').warning(f'Skipping over search result with DN {dn!r}, that does not exist anymore') continue yield retrieved_obj