langs-list-check: ignore symlinks, update list

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

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>

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)