diff options
author | Darius Makovsky <traveltissues@protonmail.com> | 2019-12-24 11:05:50 +0000 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2019-12-24 11:05:50 +0000 |
commit | ef76f45d14e9604570b196e338e1ce0492bccb97 (patch) | |
tree | dacd71f70ccd79539a48b6910c8499ae85d9c7eb /src | |
parent | 7636b6b36fa66286ecea0668824dbcd21566fae2 (diff) | |
download | buildstream-ef76f45d14e9604570b196e338e1ce0492bccb97.tar.gz |
_sourcecache: remove unused _update_mtime
Diffstat (limited to 'src')
-rw-r--r-- | src/buildstream/_sourcecache.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/buildstream/_sourcecache.py b/src/buildstream/_sourcecache.py index ad0704d89..e485fbd47 100644 --- a/src/buildstream/_sourcecache.py +++ b/src/buildstream/_sourcecache.py @@ -340,12 +340,6 @@ class SourceCache(BaseCache): def _source_path(self, ref): return os.path.join(self._basedir, ref) - def _update_mtime(self, ref): - try: - os.utime(self._source_path(ref)) - except FileNotFoundError as e: - raise SourceCacheError("Couldn't find source: {}".format(ref)) from e - def _pull_source(self, source_ref, remote): try: remote.init() |