Skip to content

Commit

Permalink
a bit of PEP-8 for ldap.logger
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder authored and Petr Viktorin committed Nov 22, 2017
1 parent 6615bb1 commit 3597f2a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Lib/ldap/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

import logging

class logging_file_class:
class logging_file_class(object):

def __init__(self,logging_level):
self._logging_level = logging_level
def __init__(self, logging_level):
self._logging_level = logging_level

def write(self,msg):
logging.log(self._logging_level,msg[:-1])
def write(self, msg):
logging.log(self._logging_level, msg[:-1])

def flush(self):
return
def flush(self):
return

logging_file_obj = logging_file_class(logging.DEBUG)

0 comments on commit 3597f2a

Please sign in to comment.