def __makeQuest(self, pmID, campaignID=None):
     if pmID not in self.__quests:
         pmType = personal_missions.g_cache.questByPersonalMissionID(pmID)
         quest = self.__quests[pmID] = event_items.PersonalMission(
             pmID, pmType, campaignID=campaignID)
     else:
         quest = self.__quests[pmID]
     return quest
 def __makeQuest(self, branch, questData, pmID, campaignID):
     quests = self.getQuestsForBranch(branch)
     if pmID not in quests:
         quest = quests[pmID] = event_items.PersonalMission(
             pmID, questData, campaignID=campaignID)
     else:
         quest = quests[pmID]
     return quest