langs-list-check: ignore symlinks, update list

This commit is contained in:
Daniel Martí committed 2015-09-19 16:28:19 -07:00
1 parent dd96b8b9f9
commit d90edde68a
2 files changed
+2 -1

No files matched your search

-1
View File
@@ -43,7 +43,6 @@
<item>fi</item>
<item>fr</item>
<item>gl</item>
<item>gu</item>
<item>he</item>
<item>hu</item>
<item>it</item>
+2
View File
@@ -28,6 +28,8 @@ for d in glob.glob(os.path.join('res', 'values-*')):
continue
if re.match('^v[0-9]+$', lang):
continue
if os.path.islink(d):
continue
trans.add(lang)
print "In the settings array: %s" % ' '.join(prefs)