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:
182fd08
)
Allow extra fields in real name string
author
Daniel Martí
<mvdan@mvdan.cc>
Fri, 14 Jun 2013 06:42:43 +0000
(08:42 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Fri, 14 Jun 2013 06:42:43 +0000
(08:42 +0200)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 85ccef88e4c0554380c537485415e1c633e57dd4..c14e766adb36139d3b7808ed720ee337c693823e 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-876,7
+876,7
@@
def fetch_real_name(app_dir):
if name.startswith('@string/'):
id = name[8:]
name2 = None
- string_search= re.compile(r'.*"'+id+'">([^<]+?)<.*').search
+ string_search= re.compile(r'.*"'+id+'"
.*
>([^<]+?)<.*').search
for xmlfile in glob.glob(os.path.join(
app_dir, 'res', 'values', 'strings*.xml')):
for line in file(xmlfile):