Cleanup: trailing space

This commit is contained in:
2020-12-11 14:59:08 +11:00
parent ff6d7e9072
commit 8cc951d2ae
9 changed files with 15 additions and 16 deletions

View File

@@ -185,9 +185,9 @@ def list_po_dir(root_path, settings):
"""
Generator. List given directory (expecting one sub-directory per languages)
and return all files matching languages listed in settings.
Yield tuples (can_use, uid, num_id, name, isocode, po_path)
Note that po_path may not actually exists.
"""
isocodes = ((e, os.path.join(root_path, e, e + ".po")) for e in os.listdir(root_path))