Use LO_DEBUG_MAILMERGE environment variable to debug mailmerge.py
This is often useful in release builds, too. Change-Id: Icb01353541836a18834897f3da501f1b0e466f3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181771 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
@@ -41,13 +41,14 @@ from email.utils import formatdate
|
||||
from email.utils import parseaddr
|
||||
from socket import _GLOBAL_DEFAULT_TIMEOUT
|
||||
|
||||
import os
|
||||
import sys
|
||||
import ssl
|
||||
import smtplib
|
||||
import imaplib
|
||||
import poplib
|
||||
|
||||
dbg = False
|
||||
dbg = os.environ.get('LO_DEBUG_MAILMERGE', '').lower() not in ['', '0', 'false']
|
||||
|
||||
# pythonloader looks for a static g_ImplementationHelper variable
|
||||
g_ImplementationHelper = unohelper.ImplementationHelper()
|
||||
|
||||
Reference in New Issue
Block a user