1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Forgot to remove debugging prints

This commit is contained in:
Daniel Martí 2013-08-13 16:00:51 +02:00
parent 0ad09f6481
commit a23fb27155

View File

@ -863,7 +863,6 @@ def description_html(lines,linkres):
return ps.text_html return ps.text_html
def retrieve_string(xml_dir, string): def retrieve_string(xml_dir, string):
print string
if not string.startswith('@string/'): if not string.startswith('@string/'):
return string.replace("\\'","'") return string.replace("\\'","'")
string_search = re.compile(r'.*"'+string[8:]+'".*>([^<]+?)<.*').search string_search = re.compile(r'.*"'+string[8:]+'".*>([^<]+?)<.*').search
@ -894,7 +893,6 @@ def fetch_real_name(app_dir, flavour):
app_found = False app_found = False
name = None name = None
for f in manifest_paths(app_dir, flavour): for f in manifest_paths(app_dir, flavour):
print f
if not f.endswith(".xml"): if not f.endswith(".xml"):
continue continue
xml_dir = os.path.join(f[:-19], 'res', 'values') xml_dir = os.path.join(f[:-19], 'res', 'values')