greenio: remove excess asserts for args
Fixes https://bitbucket.org/eventlet/eventlet/issue/121
This commit is contained in:
@@ -127,8 +127,6 @@ class GreenSocket(object):
|
|||||||
fd = _original_socket(family_or_realsock, *args, **kwargs)
|
fd = _original_socket(family_or_realsock, *args, **kwargs)
|
||||||
else:
|
else:
|
||||||
fd = family_or_realsock
|
fd = family_or_realsock
|
||||||
assert not args, args
|
|
||||||
assert not kwargs, kwargs
|
|
||||||
|
|
||||||
# import timeout from other socket, if it was there
|
# import timeout from other socket, if it was there
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user