Index: third_party/typ/typ/fakes/host_fake.py |
diff --git a/third_party/typ/typ/fakes/host_fake.py b/third_party/typ/typ/fakes/host_fake.py |
index cb74d27544225dd8839f9bbf2bde09927e8861f3..3e8643ca6479a8cbf9f6c6e696330e829673a36d 100644 |
--- a/third_party/typ/typ/fakes/host_fake.py |
+++ b/third_party/typ/typ/fakes/host_fake.py |
@@ -40,6 +40,7 @@ class FakeHost(object): |
self.stdin = io.StringIO() |
self.stdout = io.StringIO() |
self.stderr = io.StringIO() |
+ self.platform = 'linux2' |
self.env = {} |
self.sep = '/' |
self.dirs = set([]) |
@@ -89,6 +90,9 @@ class FakeHost(object): |
self.cmds.append(argv) |
return 0, '', '' |
+ def call_inline(self, argv): |
+ return self.call(argv)[0] |
+ |
def chdir(self, *comps): |
path = self.join(*comps) |
if not path.startswith('/'): |