equal
deleted
inserted
replaced
228 return response |
228 return response |
229 |
229 |
230 def _checkforservererror(self, pointers, responses, action): |
230 def _checkforservererror(self, pointers, responses, action): |
231 """Scans errors from objects |
231 """Scans errors from objects |
232 |
232 |
233 Returns LfsRemoteError if any objects has an error""" |
233 Raises LfsRemoteError if any objects have an error""" |
234 for response in responses: |
234 for response in responses: |
235 # The server should return 404 when objects cannot be found. Some |
235 # The server should return 404 when objects cannot be found. Some |
236 # server implementation (ex. lfs-test-server) does not set "error" |
236 # server implementation (ex. lfs-test-server) does not set "error" |
237 # but just removes "download" from "actions". Treat that case |
237 # but just removes "download" from "actions". Treat that case |
238 # as the same as 404 error. |
238 # as the same as 404 error. |