Skip to content

Commit

Permalink
Fix formatting from yapf lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Bargull <[email protected]>
  • Loading branch information
mbargull committed Nov 3, 2023
1 parent c783f87 commit 8cadf34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion anaconda_project/env_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,8 @@ def to_json(self):
# have ordering... OrderedDict doesn't work because the
# yaml saver saves them as some "!!omap" nonsense. Other
# than ordering, the formatting isn't even preserved here.
template_json = _load_string("something:\n description: null\n" + " packages: []\n" + " channels: []\n")
template_json = _load_string("something:\n description: null\n" + " packages: []\n" +
" channels: []\n")

if self._description is not None:
template_json['something']['description'] = self._description
Expand Down

0 comments on commit 8cadf34

Please sign in to comment.