From 0bd861aec759edb86a86e5e599e5b208dec48e43 Mon Sep 17 00:00:00 2001 From: Sergey Golitsynskiy Date: Fri, 21 Dec 2018 13:23:41 -0500 Subject: [PATCH] Code style improvement to previous commit --- doc/source/dev/build_a_job_runner.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/source/dev/build_a_job_runner.rst b/doc/source/dev/build_a_job_runner.rst index 7ff556e32f7..30e97a8d6c7 100644 --- a/doc/source/dev/build_a_job_runner.rst +++ b/doc/source/dev/build_a_job_runner.rst @@ -120,10 +120,7 @@ B: Update the dictionary structure in kwargs. :: - if 'runner_param_specs' in kwargs: - kwargs['runner_param_specs'].update(runner_param_specs) - else: - kwargs['runner_param_specs'] = runner_param_specs + kwargs.update({'runner_param_specs': runner_param_specs}) C: Now call the parent constructor to assign the values.