From 3361b58de89ab063292a1aa64f27b5bc3b43c12f Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Fri, 2 Nov 2012 12:54:43 +1100 Subject: Make ThreadGroup derived from object to make mocking possible Else mox says it is not callable. Change-Id: I7ec552f2502c3328a1d87932f329d4446a361fca --- openstack/common/threadgroup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openstack') diff --git a/openstack/common/threadgroup.py b/openstack/common/threadgroup.py index ebc066a..8d23bda 100644 --- a/openstack/common/threadgroup.py +++ b/openstack/common/threadgroup.py @@ -51,7 +51,7 @@ class Thread(object): return self.thread.wait() -class ThreadGroup(): +class ThreadGroup(object): """ The point of this class is to: - keep track of timers and greenthreads (making it easier to stop them -- cgit