chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ef37c
)
fix !320 due to unintentionally reusing the same variable name
author
Rui Zhao (renyuneyun)
<renyuneyun@gmail.com>
Mon, 12 Jun 2017 17:04:30 +0000
(18:04 +0100)
committer
Rui Zhao (renyuneyun)
<renyuneyun@gmail.com>
Mon, 12 Jun 2017 17:09:00 +0000
(18:09 +0100)
fdroidserver/update.py
patch
|
blob
|
history
diff --git
a/fdroidserver/update.py
b/fdroidserver/update.py
index 6bbaf827a4cdb0d92b66389ae858f1a7ccccc070..f50ecda53ffa10aed31bb21fed2d07c518da82c2 100644
(file)
--- a/
fdroidserver/update.py
+++ b/
fdroidserver/update.py
@@
-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
src
d in sorted(sourcedirs):
+ if not os.path.isdir(
src
d):
continue
- for root, dirs, files in os.walk(d):
+ for root, dirs, files in os.walk(
src
d):
segments = root.split('/')
packageName = segments[1]
if packageName not in apps: