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:
292fb5c
)
Use all xml files to figure out strings
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 8 Jul 2013 13:24:48 +0000
(15:24 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 8 Jul 2013 13:24:48 +0000
(15:24 +0200)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index ce6177e5f7c56baf932aca73081b241cf84bcbac..ebf23eb9666380a31ad06879e9bbe617eb60c29b 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-864,7
+864,7
@@
def description_html(lines,linkres):
def retrieve_string(app_dir, string_id):
string_search = re.compile(r'.*"'+string_id+'".*>([^<]+?)<.*').search
for xmlfile in glob.glob(os.path.join(
- app_dir, 'res', 'values', '*
string*
.xml')):
+ app_dir, 'res', 'values', '*.xml')):
for line in file(xmlfile):
matches = string_search(line)
if matches: