(self)
| 49 | ) |
| 50 | |
| 51 | def _createLocalBatchFile(self): |
| 52 | self._batPathFp = openFile(self._batPathLocal, "w") |
| 53 | |
| 54 | if self._operation == REGISTRY_OPERATION.READ: |
| 55 | lines = self._batRead |
| 56 | elif self._operation == REGISTRY_OPERATION.ADD: |
| 57 | lines = self._batAdd |
| 58 | elif self._operation == REGISTRY_OPERATION.DELETE: |
| 59 | lines = self._batDel |
| 60 | |
| 61 | for line in lines: |
| 62 | self._batPathFp.write(line) |
| 63 | |
| 64 | self._batPathFp.close() |
| 65 | |
| 66 | def _createRemoteBatchFile(self): |
| 67 | logger.debug("creating batch file '%s'" % self._batPathRemote) |
no test coverage detected