File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -162,8 +162,8 @@ def pip_cmd(subcommand, version='')
162
162
def which_pip ( nr )
163
163
if ( nr . respond_to? ( "virtualenv" ) && nr . virtualenv )
164
164
::File . join ( nr . virtualenv , '/bin/pip' )
165
- elsif " #{ node [ 'python' ] [ 'install_method' ] } " . eql? ( "source" )
166
- ::File . join ( " #{ node [ 'python' ] [ 'prefix_dir' ] } " , "/bin/pip" )
165
+ elsif node [ 'python' ] [ 'install_method' ] . eql? ( "source" )
166
+ ::File . join ( node [ 'python' ] [ 'prefix_dir' ] , "/bin/pip" )
167
167
else
168
168
'pip'
169
169
end
Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ def load_current_resource
60
60
end
61
61
62
62
def virtualenv_cmd ( )
63
- if " #{ node [ 'python' ] [ 'install_method' ] } " . eql? ( "source" )
64
- ::File . join ( " #{ node [ 'python' ] [ 'prefix_dir' ] } " , "/bin/virtualenv" )
63
+ if node [ 'python' ] [ 'install_method' ] . eql? ( "source" )
64
+ ::File . join ( node [ 'python' ] [ 'prefix_dir' ] , "/bin/virtualenv" )
65
65
else
66
66
"virtualenv"
67
67
end
You can’t perform that action at this time.
0 commit comments