summaryrefslogtreecommitdiff
path: root/src/buildstream/_workspaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_workspaces.py')
-rw-r--r--src/buildstream/_workspaces.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/_workspaces.py b/src/buildstream/_workspaces.py
index aa507bd63..a16c840e5 100644
--- a/src/buildstream/_workspaces.py
+++ b/src/buildstream/_workspaces.py
@@ -358,7 +358,7 @@ class Workspace():
# Returns:
# (str) A unique key for this workspace
#
- def get_key(self, recalculate=False):
+ def get_key(self):
def unique_key(filename):
try:
stat = os.lstat(filename)
@@ -369,7 +369,7 @@ class Workspace():
# Use the mtime of any file with sub second precision
return stat.st_mtime_ns
- if recalculate or self._key is None:
+ if self._key is None:
fullpath = self.get_absolute_path()
excluded_files = (WORKSPACE_PROJECT_FILE,)