(lock, info, changes)
| 163 | |
| 164 | |
| 165 | def _release_write(lock, info, changes): |
| 166 | for url in changes: |
| 167 | assert "write" in lock |
| 168 | assert url in lock["write"] |
| 169 | assert lock["write"][url] == info |
| 170 | del lock["write"][url] |
| 171 | if not lock["write"]: |
| 172 | del lock["write"] |
| 173 | |
| 174 | |
| 175 | def _release_read(lock, info, changes): |
no outgoing calls
no test coverage detected