Remove some minor chunks of code in patch.py that serve no purpose. Signed-off-by: Trevor Gamblin <tgamb...@baylibre.com> --- meta/lib/patchtest/patch.py | 19 ------------------- 1 file changed, 19 deletions(-)
diff --git a/meta/lib/patchtest/patch.py b/meta/lib/patchtest/patch.py index baf6283873..90faf3eeb4 100644 --- a/meta/lib/patchtest/patch.py +++ b/meta/lib/patchtest/patch.py @@ -14,22 +14,12 @@ import utils logger = logging.getLogger('patchtest') class PatchTestPatch(object): - MERGE_STATUS_INVALID = 'INVALID' - MERGE_STATUS_NOT_MERGED = 'NOTMERGED' - MERGE_STATUS_MERGED_SUCCESSFULL = 'PASS' - MERGE_STATUS_MERGED_FAIL = 'FAIL' - MERGE_STATUS = (MERGE_STATUS_INVALID, - MERGE_STATUS_NOT_MERGED, - MERGE_STATUS_MERGED_SUCCESSFULL, - MERGE_STATUS_MERGED_FAIL) - def __init__(self, path, forcereload=False): self._path = path self._forcereload = forcereload self._contents = None self._branch = None - self._merge_status = PatchTestPatch.MERGE_STATUS_NOT_MERGED @property def contents(self): @@ -51,12 +41,3 @@ class PatchTestPatch(object): if not self._branch: self._branch = utils.get_branch(self._path) return self._branch - - def setmergestatus(self, status): - self._merge_status = status - - def getmergestatus(self): - return self._merge_status - - merge_status = property(getmergestatus, setmergestatus) - -- 2.39.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#202684): https://lists.openembedded.org/g/openembedded-core/message/202684 Mute This Topic: https://lists.openembedded.org/mt/107635625/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-