summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins/sources/local.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/plugins/sources/local.py')
-rw-r--r--src/buildstream/plugins/sources/local.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/buildstream/plugins/sources/local.py b/src/buildstream/plugins/sources/local.py
index c39e09417..ffcae4993 100644
--- a/src/buildstream/plugins/sources/local.py
+++ b/src/buildstream/plugins/sources/local.py
@@ -49,11 +49,7 @@ class LocalSource(Source):
BST_STAGE_VIRTUAL_DIRECTORY = True
BST_KEY_REQUIRES_STAGE = True
- def __init__(self, context, project, meta):
- super().__init__(context, project, meta)
-
- # Cached unique key to avoid multiple file system traversal if the unique key is requested multiple times.
- self.__unique_key = None
+ __unique_key = None
def configure(self, node):
node.validate_keys(["path", *Source.COMMON_CONFIG_KEYS])