summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-02-10 07:29:45 +0100
committerJürg Billeter <j@bitron.ch>2020-02-11 21:08:59 +0100
commite2a80685edabd5e1d78cfaa533edb7010f67c33d (patch)
treeb7fbc8ed9fed5ca2b7085406058c22fc52aa05e8
parenta9638efcffa14ee2ca3ff9f410ea20d054691cc6 (diff)
downloadbuildstream-e2a80685edabd5e1d78cfaa533edb7010f67c33d.tar.gz
utils.py: Remove unused FileListResult.combine() method
-rw-r--r--src/buildstream/utils.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/buildstream/utils.py b/src/buildstream/utils.py
index 2b6c2761b..b588566df 100644
--- a/src/buildstream/utils.py
+++ b/src/buildstream/utils.py
@@ -122,18 +122,6 @@ class FileListResult:
self.files_written = []
"""List of files that were written."""
- def combine(self, other: "FileListResult") -> "FileListResult":
- """Create a new FileListResult that contains the results of both.
- """
- ret = FileListResult()
-
- ret.overwritten = self.overwritten + other.overwritten
- ret.ignored = self.ignored + other.ignored
- ret.failed_attributes = self.failed_attributes + other.failed_attributes
- ret.files_written = self.files_written + other.files_written
-
- return ret
-
def _make_timestamp(timepoint: float) -> str:
"""Obtain the ISO 8601 timestamp represented by the time given in seconds.