summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-12-04 18:05:56 +0100
committerJürg Billeter <j@bitron.ch>2019-12-04 19:22:05 +0100
commitff56a2038b992cbef1760fb308d941024112a33a (patch)
treebb5111600d2f8617519decc7e7c71a60eec26ce4
parent7315a414d14da0198392e130fa7042d29011e2de (diff)
downloadbuildstream-ff56a2038b992cbef1760fb308d941024112a33a.tar.gz
sandbox.py: Remove unused _set_virtual_directory() method
-rw-r--r--src/buildstream/sandbox/sandbox.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/buildstream/sandbox/sandbox.py b/src/buildstream/sandbox/sandbox.py
index 804759416..071e23e84 100644
--- a/src/buildstream/sandbox/sandbox.py
+++ b/src/buildstream/sandbox/sandbox.py
@@ -209,12 +209,6 @@ class Sandbox:
self._vdir = FileBasedDirectory(self._root)
return self._vdir
- def _set_virtual_directory(self, virtual_directory):
- """ Sets virtual directory. Useful after remote execution
- has rewritten the working directory.
- """
- self._vdir = virtual_directory
-
def set_environment(self, environment: Dict[str, str]) -> None:
"""Sets the environment variables for the sandbox