Index: infra/bots/common.py |
diff --git a/infra/bots/common.py b/infra/bots/common.py |
index 24d49960582c6d24424215c22acc3f22cc3d65a5..2748c540998ffc2449609fd891080c8e8cca3ecb 100644 |
--- a/infra/bots/common.py |
+++ b/infra/bots/common.py |
@@ -295,6 +295,8 @@ class BotInfo(object): |
self.flavor.create_clean_device_dir(self.device_dirs.dm_dir) |
# Obtain the list of already-generated hashes. |
+ if not os.path.isdir(self.tmp_dir): |
+ os.makedirs(self.tmp_dir) |
hash_filename = 'uninteresting_hashes.txt' |
host_hashes_file = os.path.join(self.tmp_dir, hash_filename) |
hashes_file = self.flavor.device_path_join( |