Ticket #6216: resolvconf-close-6216.patch

File resolvconf-close-6216.patch, 493 bytes (added by Jordan Hagan, 9 years ago)
  • twisted/names/client.py

     
    149149                log.msg('%s changed, reparsing' % (self.resolv,))
    150150                self._lastResolvTime = mtime
    151151                self.parseConfig(resolvConf)
     152            resolvConf.close()
    152153
    153154        # Check again in a little while
    154155        self._parseCall = self._reactor.callLater(