2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-22 22:58:31 +00:00

fix: use a tuple instead of a list

From perflint:
bench/utils/bench.py:89:9: W8301: Use tuple instead of list for a non-mutated sequence (use-tuple-over-list)

(just needed a fix to trigger a new release)

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2024-08-21 13:07:24 +05:30
parent 3cc170b6d3
commit c599ee86dd
No known key found for this signature in database
GPG Key ID: 9DCC61E211BF645F

View File

@ -86,7 +86,7 @@ def install_python_dev_dependencies(bench_path=".", apps=None, verbose=False):
bench = Bench(bench_path)
if isinstance(apps, str):
apps = [apps]
apps = (apps,)
elif not apps:
apps = bench.get_installed_apps()