From 11dbf8ad020bfa89f6ed40b51fa4ce19ee0a8292 Mon Sep 17 00:00:00 2001 From: Mikhail Gordeev Date: Wed, 15 Apr 2020 20:02:54 +0300 Subject: [PATCH] Remove newline at the beginning of the apt.conf --- cloud_build/cloud_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud_build/cloud_build.py b/cloud_build/cloud_build.py index 2916f98..46f0e26 100755 --- a/cloud_build/cloud_build.py +++ b/cloud_build/cloud_build.py @@ -198,7 +198,7 @@ Dir::Etc::SourceList "{apt_dir}/sources.list.{branch}.{arch}"; Dir::Etc::SourceParts "/var/empty"; Dir::Etc::preferences "/dev/null"; Dir::Etc::preferencesparts "/var/empty"; -''' +'''.lstrip() f.write(apt_conf) with open(f'{apt_dir}/sources.list.{branch}.{arch}', 'w') as f: