chiark / gitweb /
Strip Auto Name: name to avoid extra spacing errors
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 7 Feb 2014 20:08:04 +0000 (21:08 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 7 Feb 2014 20:08:04 +0000 (21:08 +0100)
fdroidserver/common.py

index 40d7060ae5d1f6dc4a7235a20301faf2efc6fb1d..7533149e47343102718ff70a7c0c81febbfcea2d 100644 (file)
@@ -619,7 +619,7 @@ def fetch_real_name(app_dir, flavour):
             if app_found:
                 matches = name_search(line)
                 if matches:
-                    return retrieve_string(xml_dir, matches.group(1))
+                    return retrieve_string(xml_dir, matches.group(1)).strip()
     return ''
 
 # Retrieve the version name