Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH v2] Support escaping network-sandbox through SOCKSv5 proxy
Date: Sun, 25 Jan 2015 21:58:54
Message-Id: 54C56719.8090909@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH v2] Support escaping network-sandbox through SOCKSv5 proxy by "Michał Górny"
1 On 01/25/2015 06:00 AM, Michał Górny wrote:
2 > + def __bool__(self):a
3 > + return self.socket_path is not None
4
5 You should also implement __nonzero__ for python-2.x.
6 --
7 Thanks,
8 Zac