mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 19:10:11 +01:00
build: fix fdroidserverid in build log post on wiki
The carriage return in the fdroidserverid file messes up the wiki format.
This was forgotten in 69d39bb301
This commit is contained in:
parent
03223ab9df
commit
0cf08de347
@ -1206,7 +1206,7 @@ def main():
|
|||||||
lastbuildpage = appid + '/lastbuild_' + build.vercode
|
lastbuildpage = appid + '/lastbuild_' + build.vercode
|
||||||
newpage = site.Pages[lastbuildpage]
|
newpage = site.Pages[lastbuildpage]
|
||||||
with open(os.path.join('tmp', 'fdroidserverid')) as fp:
|
with open(os.path.join('tmp', 'fdroidserverid')) as fp:
|
||||||
fdroidserverid = fp.read()
|
fdroidserverid = fp.read().rstrip()
|
||||||
txt = "* build completed at " + time.strftime("%Y-%m-%d %H:%M:%SZ", time.gmtime()) + '\n' \
|
txt = "* build completed at " + time.strftime("%Y-%m-%d %H:%M:%SZ", time.gmtime()) + '\n' \
|
||||||
+ '* fdroidserverid: [https://gitlab.com/fdroid/fdroidserver/commit/' \
|
+ '* fdroidserverid: [https://gitlab.com/fdroid/fdroidserver/commit/' \
|
||||||
+ fdroidserverid + ' ' + fdroidserverid + ']\n\n' \
|
+ fdroidserverid + ' ' + fdroidserverid + ']\n\n' \
|
||||||
|
Loading…
Reference in New Issue
Block a user