finnball pushed to branch finn/cas-commands at BuildGrid / buildgrid
Commits:
-
4a373546
by finn at 2018-08-15T14:19:46Z
2 changed files:
Changes:
... | ... | @@ -160,7 +160,7 @@ def command(context, input_root, commands, output_file, output_directory, instan |
160 | 160 |
|
161 | 161 |
requests = []
|
162 | 162 |
requests.append(remote_execution_pb2.BatchUpdateBlobsRequest.Request(
|
163 |
- digest=command_digest, data=command.SerializeToString()))
|
|
163 |
+ digest=command_digest, data=execute_command.SerializeToString()))
|
|
164 | 164 |
|
165 | 165 |
requests.append(remote_execution_pb2.BatchUpdateBlobsRequest.Request(
|
166 | 166 |
digest=action_digest, data=action.SerializeToString()))
|
... | ... | @@ -106,6 +106,6 @@ def file_maker(file_path, file_digest): |
106 | 106 |
is_executable=os.access(file_path, os.X_OK))
|
107 | 107 |
|
108 | 108 |
|
109 |
-def read_file(file):
|
|
110 |
- with open(file, 'rb') as f:
|
|
109 |
+def read_file(read):
|
|
110 |
+ with open(read, 'rb') as f:
|
|
111 | 111 |
return f.read()
|