jira-to-omnifocus.py
def complete_task(projectKey, taskKey):
    "Complete the task if found in OmniFocus."

    ascript = COMPLETE_SCRIPT.format(asquote(projectKey + " - "),
                                     asquote(taskKey),
                                     asquote(opts['omnifocus']['context']))

    asrun(ascript)
Complete the task if found in OmniFocus.
Complete the task if found in OmniFocus.
Complete the task if found in OmniFocus .
def complete_task(projectKey, taskKey):
    ascript = COMPLETE_SCRIPT.format(asquote(projectKey + " - "),
                                     asquote(taskKey),
                                     asquote(opts['omnifocus']['context']))
    asrun(ascript)
def complete_task ( projectKey , taskKey ) : ascript = COMPLETE_SCRIPT . format ( asquote ( projectKey + " - " ) , asquote ( taskKey ) , asquote ( opts [ 'omnifocus' ] [ 'context' ] ) ) asrun ( ascript )
Complete the task if found in OmniFocus.
Complete the task if found in OmniFocus .
"Complete the task if found in OmniFocus."
projectKey
taskKey