bbfb81
Move to a decorator instead of re-using the same code everywhere Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr></pingou@pingoured.fr>