changeset 18810 | ac0336471ba7 |
parent 18787 | f56278a0a0c5 |
child 18831 | 17f6644a2fbc |
--- a/hgext/blackbox.py Tue Oct 16 22:44:14 2012 +0200 +++ b/hgext/blackbox.py Fri Mar 22 10:56:55 2013 -0700 @@ -67,7 +67,7 @@ def setrepo(self, repo): try: self._blackbox = repo.opener('blackbox.log', 'a') - except IOError, err: + except (IOError, OSError), err: self.debug('warning: cannot write to blackbox.log: %s\n' % err.strerror) self._blackbox = None