From b832e609c84426e937498d34a219bfdc98cb9ab1 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 18 Apr 2019 13:19:09 +0200 Subject: [PATCH] Bugfixing --- pp_lib/app.py | 2 ++ pp_lib/dnsui_users.py | 1 + pp_lib/ldap_app.py | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pp_lib/app.py b/pp_lib/app.py index 886a27d..755c8dc 100644 --- a/pp_lib/app.py +++ b/pp_lib/app.py @@ -468,6 +468,8 @@ class PpApplication(PpBaseObject): """ + LOG.debug("Executing {} ...".format(self.__class__.__name__)) + if not self.initialized: self.handle_error( "The application is not completely initialized.", '', True) diff --git a/pp_lib/dnsui_users.py b/pp_lib/dnsui_users.py index 767d788..75103e1 100644 --- a/pp_lib/dnsui_users.py +++ b/pp_lib/dnsui_users.py @@ -195,6 +195,7 @@ class DnsuiUsersApp(PpLdapApplication): # ------------------------------------------------------------------------- def pre_run(self): + super(DnsuiUsersApp, self).pre_run() self.connect_db() # ------------------------------------------------------------------------- diff --git a/pp_lib/ldap_app.py b/pp_lib/ldap_app.py index 460a297..5b84e3a 100644 --- a/pp_lib/ldap_app.py +++ b/pp_lib/ldap_app.py @@ -244,11 +244,11 @@ class PpLdapApplication(PpConfigApplication): """ if self.verbose > 1: - LOG.debug("executing pre_run() ...") + LOG.debug("Executing pre_run() ...") super(PpLdapApplication, self).pre_run() - LOG.debug("Binding to the LDAP servers ...") + LOG.info("Binding local address for LDAP requests ...") try: self.ldap_connection.bind() except LDAPPasswordIsMandatoryError as e: -- 2.39.5