Add in documentation to all the constants.

This commit is contained in:
Mike Auty
2019-08-18 18:55:57 +01:00
parent 37e13321f9
commit 3d87b06c36
5 changed files with 36 additions and 10 deletions
+3 -3
View File
@@ -181,11 +181,11 @@ class CommandLine(interfaces.plugins.FileConsumerInterface):
# Set the PARALLELISM
if partial_args.parallelism == 'processes':
constants.PARALLELISM = constants.PARALLELISM_MULTIPROCESSING
constants.PARALLELISM = constants.Parallelism.Multiprocessing
elif partial_args.parallelism == 'threading':
constants.PARALLELISM = constants.PARALLELISM_THREADING
constants.PARALLELISM = constants.Parallelism.Threading
else:
constants.PARALLELISM = constants.PARALLELISM_OFF
constants.PARALLELISM = constants.Parallelism.Off
# Do the initialization
ctx = contexts.Context() # Construct a blank context