fix(mailing): patch repozesendmail to properly use CRLF for newlines. Fixes RFC5322 Issues with mailing

This commit is contained in:
RhodeCode Admin 2024-08-28 13:29:10 +02:00
parent 091bc11334
commit 81595dcae2
5 changed files with 16 additions and 7 deletions

View file

@ -328,8 +328,8 @@ def get_method(request, apiuser, pattern=Optional('*')):
]
error : null
"""
from rhodecode.config.patches import inspect_getargspec
inspect = inspect_getargspec()
from rhodecode.config import patches
inspect = patches.inspect_getargspec()
if not has_superadmin_permission(apiuser):
raise JSONRPCForbidden()