Skip to content

Commit

Permalink
Fix lint warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Sajner committed Jan 5, 2016
1 parent 5b8b87c commit 36df8d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/virtualenv.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ? {
Expand Down

0 comments on commit 36df8d8

Please sign in to comment.