def __init__(self, smtpServer, fromAddr, toAddrs, emailSubject, credentials=None, secure=None):
    args = [smtpServer, fromAddr, toAddrs, emailSubject, credentials]
    if credentials:
        if (CURRENT_PYTHON_VERSION >= PYTHON_27):
            args.append(secure)
        else:
            self.secure = secure
    logging.handlers.SMTPHandler.__init__(self, *args)
def __init__(self, smtpServer, fromAddr, toAddrs, emailSubject, credentials=None, secure=None):
    args = [smtpServer, fromAddr, toAddrs, emailSubject, credentials]
    if credentials:
        if (CURRENT_PYTHON_VERSION >= PYTHON_27):
            args.append(secure)
        else:
            self.secure = secure
    logging.handlers.SMTPHandler.__init__(self, *args)