diff options
Diffstat (limited to 'src/lib/Bcfg2/Server/Test.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Test.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Test.py b/src/lib/Bcfg2/Server/Test.py index ecbba2fea..9a1d43d12 100644 --- a/src/lib/Bcfg2/Server/Test.py +++ b/src/lib/Bcfg2/Server/Test.py @@ -18,7 +18,10 @@ try: HAS_MULTIPROC = True except ImportError: HAS_MULTIPROC = False - active_children = lambda: [] # pylint: disable=C0103 + + def active_children(): + """active_children() when multiprocessing lib is missing.""" + return [] def get_sigint_handler(core): |