diff options
author | Rob Austein <sra@hactrn.net> | 2010-11-08 07:07:55 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-11-08 07:07:55 +0000 |
commit | 646a3a3fbb02ef4e3c2af97253b988272e2b54e8 (patch) | |
tree | 3e413aca17611382b6caeea65f6b05d7b7c2fe99 | |
parent | cd99350f47cc55e701d9de36f014bc588bbe306b (diff) |
Apparently there is no "_tunnel_host" on the Mac?
svn path=/scripts/rpkidemo; revision=3541
-rwxr-xr-x | scripts/rpkidemo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rpkidemo b/scripts/rpkidemo index 83a6c932..4c4cbac0 100755 --- a/scripts/rpkidemo +++ b/scripts/rpkidemo @@ -140,7 +140,7 @@ class AbstractHTTPSConnection(httplib.HTTPSConnection): def connect(self): assert self.trust_anchor is not None sock = socket.create_connection((self.host, self.port), self.timeout) - if self._tunnel_host: + if getattr(self, "_tunnel_host", None): self.sock = sock self._tunnel() self.sock = ssl.wrap_socket(sock, |