572 "EOL": -1, |
572 "EOL": -1, |
573 "DOCSTRING": "", |
573 "DOCSTRING": "", |
574 "TESTING_FRAMEWORK": "", |
574 "TESTING_FRAMEWORK": "", |
575 "LICENSE": "", |
575 "LICENSE": "", |
576 "EMBEDDED_VENV": False, |
576 "EMBEDDED_VENV": False, |
|
577 "SOURCESDIR": "", |
577 } |
578 } |
578 for category in self.__fileCategoriesRepository: |
579 for category in self.__fileCategoriesRepository: |
579 self.__pdata[category] = [] |
580 self.__pdata[category] = [] |
580 |
581 |
581 self.__initDebugProperties() |
582 self.__initDebugProperties() |
605 @rtype Any |
606 @rtype Any |
606 """ |
607 """ |
607 if dataKey is None: |
608 if dataKey is None: |
608 return copy.deepcopy(self.__pdata) |
609 return copy.deepcopy(self.__pdata) |
609 |
610 |
610 try: |
611 return self.__pdata.get(dataKey, default) |
611 return self.__pdata[dataKey] |
|
612 except KeyError: |
|
613 return default |
|
614 |
612 |
615 def setProjectData(self, data, dataKey=None, setDirty=True): |
613 def setProjectData(self, data, dataKey=None, setDirty=True): |
616 """ |
614 """ |
617 Public method to set data associated with the given data key in the project |
615 Public method to set data associated with the given data key in the project |
618 dictionary. |
616 dictionary. |