Skip to content

Commit 592fd05

Browse files
strumpbiodranik
authored andcommitted
Fixed comment copy for TwineDefinition class
1 parent ed724b0 commit 592fd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_twine/twine/twine_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def is_plural(self) -> bool:
162162
def copy_lang(self, lang: str) -> "TwineDefinition":
163163
""" Copy translation for one language into new definition. """
164164
new_def = TwineDefinition(self.key)
165-
new_def._comment = self._comment
165+
new_def._comment = self.comment
166166
new_def.tags = copy.deepcopy(self.tags)
167167
if lang in self.translations:
168168
new_def.translations[lang] = self.translations[lang]

0 commit comments

Comments
 (0)