summaryrefslogtreecommitdiff
path: root/src/buildstream/sandbox/sandbox.py
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-05 11:52:08 +0000
commit460268b2548cdff520f5e98006016eb0ea20b5c3 (patch)
tree8fd42682b9f772ed6f974891b9552cbec47cf9de /src/buildstream/sandbox/sandbox.py
parent7bbcf7fd53bfdabd62394e551f022893b6c2350b (diff)
downloadbuildstream-460268b2548cdff520f5e98006016eb0ea20b5c3.tar.gz
sandbox.py: Remove unused _set_virtual_directory() method
Diffstat (limited to 'src/buildstream/sandbox/sandbox.py')
-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