summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-02-25 10:09:31 +0100
committerJürg Billeter <j@bitron.ch>2019-02-28 05:14:47 +0100
commit06a84bfea5dc55ed358281f7433d579cdf6d9aa2 (patch)
treeecd249a3f17f656330e6ced4d8c2e555f1b7a5fb
parent4f565c3e41c42bbf188ff6e3603b9c8368da2e71 (diff)
downloadbuildstream-06a84bfea5dc55ed358281f7433d579cdf6d9aa2.tar.gz
element.py: Remove unused __extract() method
-rw-r--r--buildstream/element.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index 35475a6b6..fff95d0f5 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -2709,25 +2709,6 @@ class Element(Plugin):
return (self.__artifacts.get_artifact_directory(self, key), key)
- # __extract():
- #
- # Extract an artifact and return the directory
- #
- # Args:
- # key (str): The key for the artifact to extract,
- # or None for the default key
- #
- # Returns:
- # (str): The path to the extracted artifact
- # (str): The chosen key
- #
- def __extract(self, key=None):
-
- if key is None:
- key = self.__get_extract_key()
-
- return (self.__artifacts.extract(self, key), key)
-
# __get_artifact_metadata_keys():
#
# Retrieve the strong and weak keys from the given artifact.