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:
e642561
)
Don't look for strings in unrelated projects
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Sun, 16 Mar 2014 08:43:54 +0000
(08:43 +0000)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Sun, 16 Mar 2014 08:43:54 +0000
(08:43 +0000)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index c63a4aa11c987615ae3a0f06547ffa68e164ea31..388e3970b9212e08df1e9fee249fab31e2d01981 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-590,10
+590,13
@@
class vcs_bzr(vcs):
p.stdout.splitlines()]
def retrieve_string(app_dir, string, xmlfiles=None):
+
+ res_dir = os.path.join(app_dir, 'res')
+
if xmlfiles is None:
xmlfiles = []
- for r,d,f in os.walk(
app
_dir):
- if r.endswith('/
res/
values'):
+ for r,d,f in os.walk(
res
_dir):
+ if r.endswith('/values'):
xmlfiles += [os.path.join(r,x) for x in f if x.endswith('.xml')]
string_search = None