From: Frank Brehm Date: Thu, 18 Apr 2019 11:19:09 +0000 (+0200) Subject: Bugfixing X-Git-Tag: 0.1.2~6^2~10^2~2 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=b832e609c84426e937498d34a219bfdc98cb9ab1;p=pixelpark%2Fadmin-tools.git Bugfixing --- 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: