avoid tracebacks because the parameter does not exist

This commit is contained in:
Bernardo Damele
2013-02-14 13:18:33 +00:00
parent c9c520a325
commit d42d28392a
10 changed files with 12 additions and 13 deletions

View File

@@ -65,7 +65,7 @@ class Registry:
logger.debug("creating batch file '%s'" % self._batPathRemote)
self._createLocalBatchFile()
self.writeFile(self._batPathLocal, self._batPathRemote, "text")
self.writeFile(self._batPathLocal, self._batPathRemote, "text", forceCheck=True)
os.unlink(self._batPathLocal)