From 36df8d8a10d3fc10a1c4ae5393107d73ee64b6f2 Mon Sep 17 00:00:00 2001 From: Dan Sajner Date: Tue, 5 Jan 2016 15:08:39 -0500 Subject: [PATCH] Fix lint warnings. --- manifests/virtualenv.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/virtualenv.pp b/manifests/virtualenv.pp index 0a0a0cad..9dc7fcd9 100644 --- a/manifests/virtualenv.pp +++ b/manifests/virtualenv.pp @@ -116,9 +116,9 @@ # --system-site-packages flag, default off for prior versions # Prior to version 1.7 the default was equal to --system-site-packages # and the flag --no-site-packages had to be passed to do the opposite - if (( versioncmp("$::virtualenv_version",'1.7') > 0 ) and ( $systempkgs == true )) { # lint:ignore:empty_string_assignment + if (( versioncmp("${::virtualenv_version}",'1.7') > 0 ) and ( $systempkgs == true )) { # lint:ignore:only_variable_string $system_pkgs_flag = '--system-site-packages' - } elsif (( versioncmp("$::virtualenv_version",'1.7') < 0 ) and ( $systempkgs == false )) { # lint:ignore:empty_string_assignment + } elsif (( versioncmp("${::virtualenv_version}",'1.7') < 0 ) and ( $systempkgs == false )) { # lint:ignore:only_variable_string $system_pkgs_flag = '--no-site-packages' } else { $system_pkgs_flag = $systempkgs ? {