# HG changeset patch # User IBBoard # Date 1425847683 0 # Node ID 393acb5f672d59ce594b3fdf7bf573145cabacf2 # Parent e3aeb8761950dac42ed5a405f0ec53a7547d6a61 Fix bad practice of using variable incorrectly, which raises a warning in 3.6 diff -r e3aeb8761950 -r 393acb5f672d modules/python/manifests/venv/isolate.pp --- a/modules/python/manifests/venv/isolate.pp Sun Mar 08 20:47:27 2015 +0000 +++ b/modules/python/manifests/venv/isolate.pp Sun Mar 08 20:48:03 2015 +0000 @@ -8,7 +8,7 @@ if $ensure == 'present' { # Parent directory of root directory. /var/www for /var/www/blog - $root_parent = inline_template("<%= root.match(%r!(.+)/.+!)[1] %>") + $root_parent = inline_template("<%= @root.match(%r!(.+)/.+!)[1] %>") if !defined(File[$root_parent]) { file { $root_parent: