diff options
author | Jürg Billeter <j@bitron.ch> | 2019-02-25 10:09:31 +0100 |
---|---|---|
committer | Abderrahim Kitouni <akitouni@gnome.org> | 2020-08-26 12:47:05 +0100 |
commit | e98f6b790a23eed58ff1f26c44842de000ed235d (patch) | |
tree | a91f02e4d5358f595f06d72128cdda9c706170a9 | |
parent | bc852517e2fb8e36f0e26f92ce9c7b818516da6a (diff) | |
download | buildstream-e98f6b790a23eed58ff1f26c44842de000ed235d.tar.gz |
element.py: Remove unused __extract() method
-rw-r--r-- | buildstream/element.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index 71ffbfea9..b8a2cfccc 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -2519,25 +2519,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. |