mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-05 00:41:06 +03:00
fix !320 due to unintentionally reusing the same variable name
This commit is contained in:
parent
03ef37cbde
commit
b5b463a5ec
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue