vendor.py: send licenses to vendor_artifacts/
`./vendor.py` is going to produce a second file soon. Rather than
further cluttering the root directory with this kind of thing, make a
new home for it.
BUG=b:250919469
TEST=./vendor.py
Change-Id: Ifb20ca05d8bb03833f49c9eb4dcf9b26e5eadc95
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/rust_crates/+/4092859
Reviewed-by: Allen Webb <allenwebb@google.com>
Commit-Queue: George Burgess <gbiv@chromium.org>
Tested-by: George Burgess <gbiv@chromium.org>
diff --git a/projects/populate-workspace.py b/projects/populate-workspace.py
index 9fada5d..46e389f 100755
--- a/projects/populate-workspace.py
+++ b/projects/populate-workspace.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-# Copyright 2022 The ChromiumOS Authors.
+# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Populates the top-level Cargo.toml with all necessary workspace entries."""
@@ -61,7 +61,7 @@
# The `toml` crate writes this as a massive line, which is hard to
# read. Since this is simple to write, write it directly.
# TODO(b/242668603): find a toml crate with prettier formatting
- f.write('[workspace]\nmembers = [\n')
+ f.write("[workspace]\nmembers = [\n")
for project in projects:
project = str(project)
assert '"' not in project and "\\" not in project, project