Improve xml string extracting support

* Shield ourselves from newlines that would break metadata files
* Properly use string resources for version names
This commit is contained in:
Daniel Martí 2015-06-18 17:54:56 +02:00
parent 52c2ca1fe7
commit 5aa9e2289d
2 changed files with 7 additions and 19 deletions

View file

@ -366,13 +366,6 @@ def fetch_autoname(app, tag):
else:
logging.debug("...couldn't get autoname")
if app['Current Version'].startswith('@string/'):
cv = common.version_name(app['Current Version'], app_dir, flavours)
if app['Current Version'] != cv:
app['Current Version'] = cv
if not commitmsg:
commitmsg = "Fix CV of {0}".format(common.getappname(app))
return commitmsg