diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2021-12-03 13:23:33 -0500 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2021-12-03 13:23:33 -0500 |
commit | 3cc0c9dc3446d1ab5b6404c100ed65792a125d10 (patch) | |
tree | 5ab39771e675c664feeb6c3b7fcf167ae9e6b5ee /src/api/models.py | |
parent | 117e324b3bec0b3e250cc668c99eaf3696b8af00 (diff) |
Prevent yaml from inserting newlines on "wide" CI files
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Change-Id: Ie2ad9021122b2015856b3f43c92eca31b8bafc1e
Diffstat (limited to 'src/api/models.py')
-rw-r--r-- | src/api/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/models.py b/src/api/models.py index 5928ea9..8cce5d5 100644 --- a/src/api/models.py +++ b/src/api/models.py @@ -502,7 +502,7 @@ class GeneratedCloudConfig(models.Model): return main_dict def serialize(self) -> str: - return yaml.dump(self._to_dict()) + return yaml.dump(self._to_dict(), width=float("inf")) class APILog(models.Model): |