view tests/gpg/pubring.gpg @ 30241:cac4ca036dff stable

httppeer: make __del__ access to self.urlopener more safe Some errors could in some cases show unfortunate scary and confusing warnings from the httppeer delstructors: abort: nodename nor servname provided, or not known Exception AttributeError: "'httpspeer' object has no attribute 'urlopener'" in <bound method httpspeer.__del__ of <mercurial.httppeer.httpspeer object at 0x106e1f5d0>> ignored``` To mute that, take 7b15dd9125b3 to the next level and use getattr in __del__.
author Mads Kiilerich <madski@unity3d.com>
date Mon, 31 Oct 2016 13:43:48 +0100
parents 6fce36336e42
children
line wrap: on
line source

(binary:application/octet-stream)