src/eric7/UI/EmailDialog.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
160 """ 160 """
161 Private slot to show some help text "how to turn on the Gmail API". 161 Private slot to show some help text "how to turn on the Gmail API".
162 """ 162 """
163 if self.__helpDialog is None: 163 if self.__helpDialog is None:
164 try: 164 try:
165 from eric7.EricNetwork.EricGoogleMail import ( # noqa: I101 165 from eric7.EricNetwork.EricGoogleMail import ( # noqa: I-101
166 GoogleMailHelp, 166 GoogleMailHelp,
167 ) 167 )
168 168
169 helpStr = GoogleMailHelp() 169 helpStr = GoogleMailHelp()
170 except ImportError: 170 except ImportError:
416 416
417 @param msg email message to be sent 417 @param msg email message to be sent
418 @type email.mime.text.MIMEBase 418 @type email.mime.text.MIMEBase
419 """ 419 """
420 try: 420 try:
421 from eric7.EricNetwork.EricGoogleMail import ( # __IGNORE_WARNING_I101__ 421 from eric7.EricNetwork.EricGoogleMail import ( # __IGNORE_WARNING_I-101__
422 EricGoogleMail, 422 EricGoogleMail,
423 ) 423 )
424 424
425 if self.__googleMail is None: 425 if self.__googleMail is None:
426 self.__googleMail = EricGoogleMail(self) 426 self.__googleMail = EricGoogleMail(self)

eric ide

mercurial