Hi,
The proposed patch places some repetitive code in a helper function.The value of this change is arguably not that high but it makes thecode a bit neater IMO.
-- Best regards,Aleksander Alekseev