Skip to content

Commit

Permalink
added dummy method logging_file_class.flush() because LDAPObject.unbi…
Browse files Browse the repository at this point in the history
…nd_ext_s() invokes it
  • Loading branch information
stroeder committed Nov 11, 2016
1 parent 49755d0 commit d8ada28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Released 2.4.28 2016-11-xx
Changes since 2.4.27:

Lib/
*
* added dummy method logging_file_class.flush() because
LDAPObject.unbind_ext_s() invokes it

----------------------------------------------------------------
Released 2.4.27 2016-08-01
Expand Down Expand Up @@ -1290,4 +1291,4 @@ Released 2.0.0pre02 2002-02-01
----------------------------------------------------------------
Released 1.10alpha3 2000-09-19

$Id: CHANGES,v 1.394 2016/11/11 14:41:07 stroeder Exp $
$Id: CHANGES,v 1.395 2016/11/11 14:42:18 stroeder Exp $
3 changes: 3 additions & 0 deletions Lib/ldap/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ def __init__(self,logging_level):
def write(self,msg):
logging.log(self._logging_level,msg[:-1])

def flush(self):
return

logging_file_obj = logging_file_class(logging.DEBUG)

0 comments on commit d8ada28

Please sign in to comment.