Skip to content

Commit 22199d2

Browse files
committed
puppet-lint fix: indentation
1 parent 4722bf2 commit 22199d2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

manifests/pip.pp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,14 @@
218218
# Unfortunately this is the smartest way of getting the latest available package version with pip as of now
219219
# Note: we DO need to repeat ourselves with "from version" in both grep and sed as on some systems pip returns
220220
# more than one line with paretheses.
221-
$latest_version = join([
221+
$latest_version = join(
222+
[
222223
"${pip_install} ${legacy_resolver} ${pypi_index} ${pypi_extra_index} ${proxy_flag}",
223224
" ${install_args} ${install_editable} '${real_pkgname}==9!0dev0+x' 2>&1",
224225
" | sed -nE 's/.*\\(from versions: (.*, )*(.*)\\)/\\2/p'",
225226
' | tr -d "[:space:]"',
226-
])
227+
],
228+
)
227229

228230
# Packages with underscores in their names are listed with dashes in their place in `pip freeze` output
229231
$pkgname_with_dashes = regsubst($real_pkgname, '_', '-', 'G')

0 commit comments

Comments
 (0)