remove remaing chars in case of shrinking file len

This commit is contained in:
Michael Jerger 2023-05-19 17:04:23 +02:00
parent eb6491a1fb
commit d60b7b03a1
2 changed files with 2 additions and 1 deletions

View file

@ -28,7 +28,7 @@ use_plugin("python.distutils")
default_task = "publish" default_task = "publish"
name = "ddadevops" name = "ddadevops"
version = "4.0.0-dev38" version = "4.0.0-dev39"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__ description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -40,3 +40,4 @@ class BuildFileRepository:
) as file: ) as file:
file.seek(0) file.seek(0)
file.write(build_file.content) file.write(build_file.content)
file.truncate()