Remove support for deprecated `Config.TIMEOUT`.
import six
-from pyinfra import logger
-
class Config(object):
'''
@@ -49,14 +47,6 @@ class Config(object):
env = kwargs.pop('ENV', {})
self.ENV = env
- # Replace TIMEOUT -> CONNECT_TIMEOUT
- if 'TIMEOUT' in kwargs:
- logger.warning((
- 'Config.TIMEOUT is deprecated, '
- 'please use Config.CONNECT_TIMEOUT instead'
- ))
- kwargs['CONNECT_TIMEOUT'] = kwargs.pop('TIMEOUT')
-
# Apply kwargs
for key, value in six.iteritems(kwargs):
setattr(self, key, value)
