From c197938ff28cfc9a18ccd026ed1642297e7e02e1 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Mon, 17 Aug 2009 14:00:31 -0700 Subject: [PATCH] Fixed incorrect assert syntax. --- eventlet/greenio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eventlet/greenio.py b/eventlet/greenio.py index 8937dd0..4ca1b06 100644 --- a/eventlet/greenio.py +++ b/eventlet/greenio.py @@ -533,9 +533,9 @@ class GreenSSL(GreenSocket): """ def __init__(self, fd): super(GreenSSL, self).__init__(fd) - assert(isinstance(fd, (SSL.ConnectionType)), + assert isinstance(fd, (SSL.ConnectionType)), \ "GreenSSL can only be constructed with an "\ - "OpenSSL Connection object") + "OpenSSL Connection object" self.sock = self def close(self):