Fixed incorrect assert syntax.

This commit is contained in:
Ryan Williams
2009-08-17 14:00:31 -07:00
parent 591e916b62
commit c197938ff2

View File

@@ -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):