i18n Python scripts: fix a typo in TranslationUnit._stringsKey()
I believe the problematic code could only be reached when reading buggy versions (i.e., with duplicate ids) of the legacy FlightGear XML non-master l10n files, which is why we haven't tripped on it so far.
This commit is contained in:
parent
d502afa171
commit
14eb302022
@ -461,7 +461,7 @@ class TranslationUnit:
|
||||
|
||||
def _stringsKey(self):
|
||||
"""Key used to compare the strings of two TranslationUnit instances."""
|
||||
return (self.self.sourceText, self.targetTexts, self.developerComments,
|
||||
return (self.sourceText, self.targetTexts, self.developerComments,
|
||||
self.translatorComments)
|
||||
|
||||
def sameStrings(self, other):
|
||||
|
Loading…
Reference in New Issue
Block a user