@cache_permission
def can_push_translation(user, project):
 return check_permission(user, project, 'trans.push_translation')

@ cache_permission def can_push_translation ( user , project ) : return check_permission ( user , project , 'trans.push_translation' )
checks whether user can push translation repository .