*mark original tasks as completed if they are marked as complete in the index taskpaper document*

        **Key Arguments:**
            - ``setName`` -- the name of the sync tag set

def _complete_original_tasks(
            self,
            setName):
        """*mark original tasks as completed if they are marked as complete in the index taskpaper document*

        **Key Arguments:**
            - ``setName`` -- the name of the sync tag set
        """
        self.log.info('starting the ``_complete_original_tasks`` method')

        if self.editorialRootPath:
            taskpaperDocPath = self.syncFolder + "/e-" + \
                self.workspaceName + "-" + setName + "-tasks.taskpaper"
        else:
            taskpaperDocPath = self.syncFolder + "/" + \
                self.workspaceName + "-" + setName + "-tasks.taskpaper"
        exists = os.path.exists(taskpaperDocPath)
        if not exists:
            return

        # OPEN TASKPAPER INDEX FILE
        doc = document(taskpaperDocPath)
        doneTasks = doc.tagged_tasks("@done")

        for t in doneTasks:
            theseNotes = t.notes
            parent = t.parent
            while not len(theseNotes) and parent and parent.parent:
                theseNotes = parent.notes
                parent = parent.parent

            if self.editorialRootPath:
                theseNotes[0].title = theseNotes[0].title.replace(
                    "editorial://open", self.editorialRootPath).replace("?root=dropbox", "")
                theseNotes[0].title = urllib.unquote(
                    theseNotes[0].title).replace("%40", "@")

            originalFile = theseNotes[0].title.split(" > ")[0].strip()
            if len(theseNotes[0].title.split(" > ")) > 1:
                projectName = theseNotes[0].title.split(" > ")[1].strip()
            else:
                projectName = False

            odoc = document(originalFile)
            odoc.tidy()
            odoc.save()
            odoc = document(originalFile)
            if projectName:
                thisObject = odoc.get_project(projectName)
            else:
                thisObject = odoc

            oTask = thisObject.get_task(t.title)
            if oTask:
                oTask.done("all")
                odoc.save()

        self.log.info('completed the ``_complete_original_tasks`` method')
        return None