summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/global.pro
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2017-05-31 21:42:11 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2017-06-09 08:24:55 +0000
commit267edbec198a0cedbf7bed4c3c5fa93c1dbc86bd (patch)
treeeda4439aa046a190d7ff72b973761375f78d03fc /tests/auto/corelib/global/global.pro
parent6a4875f0d17f7ab282eebfd2870918a1abf032a5 (diff)
Clean up in CLDR scripts for QLocale
Use python more fluently; DRY - use functions to avoid repetition; use dict-comprehensions; use os.path.join() in preference to arithmetic with path strings; use elsif to avoid the need for a local variable; set() can take a generator directly, no need to go via a list; don't end lines in semicolon (this is python). Test isdir() once instead of exists() twice on the same name. Just, generally, use python's feature-set. Change-Id: Ib114aa016f70b3be09e968d9cfc069b057f49d41 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/corelib/global/global.pro')
0 files changed, 0 insertions, 0 deletions