update: strip leading/tailing whitespace on author contact fields

Whitespace is not valid in email addresses, URLs, or phone numbers, and the
triple-t/fastlane file format generally has a newline at the end.
This commit is contained in:
Hans-Christoph Steiner 2019-10-04 11:08:52 +02:00
parent 1ef4f74aff
commit a7dd7a812f
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA
1 changed files with 1 additions and 1 deletions

View File

@ -717,7 +717,7 @@ def _set_author_entry(app, key, f):
with open(f, errors='replace') as fp:
text = fp.read()[:limit]
if len(text) > 0:
app[key] = text
app[key] = text.strip()
def _strip_and_copy_image(in_file, outpath):