(self, exc_type, exc_val, exc_tb)
| 267 | return self |
| 268 | |
| 269 | def __exit__(self, exc_type, exc_val, exc_tb): |
| 270 | # don't execute if there was an exception by default |
| 271 | if exc_type is not None and not self._execute_on_exception: |
| 272 | return |
| 273 | self.execute() |
| 274 | |
| 275 | |
| 276 | class ContextQuery(object): |