mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
Merge branch 'fix' into 'master'
fix #320 due to unintentionally reusing the same variable name Closes #320 See merge request !286
This commit is contained in:
commit
e1d316a4bc
@ -706,10 +706,10 @@ def insert_localized_app_metadata(apps):
|
||||
sourcedirs += glob.glob(os.path.join('build', '[A-Za-z]*', 'metadata', '[a-z][a-z]*'))
|
||||
sourcedirs += glob.glob(os.path.join('metadata', '[A-Za-z]*', '[a-z][a-z]*'))
|
||||
|
||||
for d in sorted(sourcedirs):
|
||||
if not os.path.isdir(d):
|
||||
for srcd in sorted(sourcedirs):
|
||||
if not os.path.isdir(srcd):
|
||||
continue
|
||||
for root, dirs, files in os.walk(d):
|
||||
for root, dirs, files in os.walk(srcd):
|
||||
segments = root.split('/')
|
||||
packageName = segments[1]
|
||||
if packageName not in apps:
|
||||
|
Loading…
Reference in New Issue
Block a user