Fixed some code indentation
minor #4659 Fixed some code indentation (javiereguiluz)

This PR was merged into the 2.3 branch.

Discussion
----------

Fixed some code indentation

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | -

Commits
-------

0b7cb0e Fixed some code indentation