From 9446920adc2332147489fb6d33f8ae393d3aca2c Mon Sep 17 00:00:00 2001 From: Paulo Ricardo Andrade Date: Fri, 8 Nov 2024 17:31:29 -0300 Subject: [PATCH] Fixing for reviewboard 7 - updated extension.py Adding support for Reviewboard 7, djando changed the name of the function. --- rbnotefield/rbnotefield/extension.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbnotefield/rbnotefield/extension.py b/rbnotefield/rbnotefield/extension.py index 88a81e4..7cffe71 100644 --- a/rbnotefield/rbnotefield/extension.py +++ b/rbnotefield/rbnotefield/extension.py @@ -1,6 +1,6 @@ """Review Board Extension for adding a "notes" field.""" -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from reviewboard.extensions.base import Extension from reviewboard.extensions.hooks import ReviewRequestFieldsHook from reviewboard.reviews.fields import BaseTextAreaField