summaryrefslogtreecommitdiff
path: root/src/buildstream/_sourcecache.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-07-01 16:04:18 +0200
committerbst-marge-bot <marge-bot@buildstream.build>2020-08-13 09:24:43 +0000
commit0ef5d12f53edbb12bee188a060bfe0ec6e1fcb23 (patch)
treea8237d370fd5ca0c0ca357f0939f5d726ce85bc6 /src/buildstream/_sourcecache.py
parentfce20bc02396071f3e77b64f45f16c8a2049571c (diff)
downloadbuildstream-0ef5d12f53edbb12bee188a060bfe0ec6e1fcb23.tar.gz
_assetcache.py: Drop index_remote_class and storage_remote_class
They no longer differ among subclasses.
Diffstat (limited to 'src/buildstream/_sourcecache.py')
-rw-r--r--src/buildstream/_sourcecache.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buildstream/_sourcecache.py b/src/buildstream/_sourcecache.py
index a05344de4..fd75be34d 100644
--- a/src/buildstream/_sourcecache.py
+++ b/src/buildstream/_sourcecache.py
@@ -22,7 +22,7 @@ import grpc
from ._cas.casremote import BlobNotFound
from .storage._casbaseddirectory import CasBasedDirectory
-from ._assetcache import AssetCache, AssetRemote
+from ._assetcache import AssetCache
from ._exceptions import CASError, CASRemoteError, SourceCacheError
from . import utils
from ._protos.buildstream.v2 import source_pb2
@@ -39,7 +39,6 @@ class SourceCache(AssetCache):
spec_name = "source_cache_specs"
config_node_name = "source-caches"
- index_remote_class = AssetRemote
def __init__(self, context):
super().__init__(context)