Move BUFSIZE to __init__ since it's common to many connection plugins

This commit is contained in:
Toshio Kuratomi 2016-03-16 11:20:02 -07:00
parent b77c4ce458
commit fee73100c4
6 changed files with 7 additions and 15 deletions

View file

@ -42,6 +42,8 @@ except ImportError:
__all__ = ['ConnectionBase', 'ensure_connect']
BUFSIZE = 65536
def ensure_connect(func):
@wraps(func)