organize code in commits-redirector
- moved code to functions to improve readability
- moved
gitlabInstance
instantiation to constructor - removed redundant HTTPNotFound calls in favour of
raise HTTPNotFound
at end.
gitlabInstance
instantiation to constructorraise HTTPNotFound
at end.