[Notes] [Git][BuildGrid/buildgrid][finn/cas-commands] Small fix, to be rebased into history



Title: GitLab

finnball pushed to branch finn/cas-commands at BuildGrid / buildgrid

Commits:

2 changed files:

Changes:

  • app/commands/cmd_execute.py
    ... ... @@ -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()))
    

  • buildgrid/utils.py
    ... ... @@ -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()



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]