diff options
Diffstat (limited to 'dev-python/eventlet/files/remove-assert-parenthesis.patch')
-rw-r--r-- | dev-python/eventlet/files/remove-assert-parenthesis.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/eventlet/files/remove-assert-parenthesis.patch b/dev-python/eventlet/files/remove-assert-parenthesis.patch new file mode 100644 index 000000000..f1c75f8f1 --- /dev/null +++ b/dev-python/eventlet/files/remove-assert-parenthesis.patch @@ -0,0 +1,12 @@ +--- eventlet/greenio.py 2009-07-24 04:25:27.000000000 +0200 ++++ eventlet/greenio.py 2009-07-27 16:39:55.000000000 +0200 +@@ -534,7 +534,7 @@ + """ + 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") + self.sock = self + |