8000 Fix typo in format_differences.py by cmaureir · Pull Request #1249 · python/python-docs-es · GitHub
[go: up one dir, main page]

Skip to content

Fix typo in format_differences.py #1249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
8000 merged 1 commit into from
Aug 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/format_differences.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ def main():
wordsid = wordsstr = list()

if has_delimiters(entry.msgid):
wordsid = [word for word in entry.msgid.split() if has_delimiter(word)]
wordsid = [word for word in entry.msgid.split() if has_delimiters(word)]

if has_delimiters(entry.msgstr):
wordsstr = [word for word in entry.msgstr.split() if has_delimiter(word)]
wordsstr = [word for word in entry.msgstr.split() if has_delimiters(word)]

if len(wordsid) != len(wordsstr):
key = pofilename.replace(PO_DIR, '')
Expand Down
0