Skip to content

Commit 1cd071d

Browse files
authored
Fix if statement
Code was trying to access an invalid variable - `python` - instead of `default['python']`
1 parent 711e4d9 commit 1cd071d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

attributes/default.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
default['python']['install_method'] = 'package'
2222

23-
if python['install_method'] == 'package'
23+
if default['python']['install_method'] == 'package'
2424
case platform
2525
when "smartos"
2626
default['python']['prefix_dir'] = '/opt/local'

0 commit comments

Comments
 (0)