~tsarev/taskcoach/1.3

« back to all changes in this revision

Viewing changes to taskcoachlib/mailer/macmail.py

  • Committer: fniessink
  • Date: 2011-07-20 19:23:17 UTC
  • Revision ID: svn-v4:648457a2-254a-0410-87ef-a9f7caebb725:branches/Release1_3_Branch/taskcoach:4582
Merge from 1.2 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
17
'''
18
18
 
19
 
import subprocess, wx
20
19
from taskcoachlib.i18n import _
21
20
 
22
 
def getSubjectOfMail(messageId):
 
21
 
 
22
def getSubjectOfMail(messageId): # pylint: disable-msg=W0613
23
23
    """This should return the subject of the mail having the specified
24
24
    message-id. Unfortunately, until I find an Applescript guru, it
25
25
    will only return the subject of the currently selected mail in
42
42
    if sp.returncode:
43
43
        return ''
44
44
 
45
 
    return out.strip()"""
 
45
    return out.strip()""" # pylint: disable-msg=W0105
46
46
 
47
47
    # The above code is slow, wrong and dangerous. I'll try to fix it some day.
48
48