Skip to content

Commit 15dd2bc

Browse files
authored
Ensure value is a string for =~ comparison
1 parent 2bf8a5c commit 15dd2bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/install.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
}
211211
}
212212

213-
if $::python::version =~ /^3/ {
213+
if "${::python::version}" =~ /^3/ { #lint:ignore:only_variable_string
214214
$pip_category = undef
215215
$pip_package = 'python3-pip'
216216
} elsif $::osfamily == 'Gentoo' {

0 commit comments

Comments
 (0)