##// END OF EJS Templates
blackbox: account for another source of errors
Bryan O'Sullivan -
r18810:ac033647 default
parent child Browse files
Show More
@@ -67,7 +67,7 b' def wrapui(ui):'
67 def setrepo(self, repo):
67 def setrepo(self, repo):
68 try:
68 try:
69 self._blackbox = repo.opener('blackbox.log', 'a')
69 self._blackbox = repo.opener('blackbox.log', 'a')
70 except IOError, err:
70 except (IOError, OSError), err:
71 self.debug('warning: cannot write to blackbox.log: %s\n' %
71 self.debug('warning: cannot write to blackbox.log: %s\n' %
72 err.strerror)
72 err.strerror)
73 self._blackbox = None
73 self._blackbox = None
General Comments 0
You need to be logged in to leave comments. Login now