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 12:12:38 +0100
commita596dc466dfdc56ea3e572328cb5ee8a5509247e (patch)
tree83ed06d501b6168775589bf402fc1c50ac31e570
parent581b7f992ca0ff0f546493512afed83ff1487712 (diff)
downloadbuildstream-a596dc466dfdc56ea3e572328cb5ee8a5509247e.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.