diff options
Diffstat (limited to 'swiftclient/service.py')
-rw-r--r-- | swiftclient/service.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/swiftclient/service.py b/swiftclient/service.py index 71c36ec..8f3648e 100644 --- a/swiftclient/service.py +++ b/swiftclient/service.py @@ -451,7 +451,9 @@ class SwiftService(object): **_default_local_options ) process_options(self._options) - create_connection = lambda: get_conn(self._options) + + def create_connection(): + return get_conn(self._options) self.thread_manager = MultiThreadingManager( create_connection, segment_threads=self._options['segment_threads'], |