diff options
| author | Jacob Helwig <jacob@puppetlabs.com> | 2011-04-14 15:56:49 -0700 |
|---|---|---|
| committer | Jacob Helwig <jacob@puppetlabs.com> | 2011-04-14 15:56:49 -0700 |
| commit | a509821f6c2da0a07bc63af433f6e36061d4f241 (patch) | |
| tree | aec5cea48e5e595fd70101d1242eedb606c49f9a /lib/puppet | |
| parent | 5528911bd6fd784ed9550ed475f240a64c7a56fb (diff) | |
| download | puppet-a509821f6c2da0a07bc63af433f6e36061d4f241.tar.gz puppet-a509821f6c2da0a07bc63af433f6e36061d4f241.tar.xz puppet-a509821f6c2da0a07bc63af433f6e36061d4f241.zip | |
Cleanup trailing whitespace
Diffstat (limited to 'lib/puppet')
| -rw-r--r-- | lib/puppet/parser/scope.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/scope.rb b/lib/puppet/parser/scope.rb index 99f1c6ee2..a8bb4418a 100644 --- a/lib/puppet/parser/scope.rb +++ b/lib/puppet/parser/scope.rb @@ -222,12 +222,12 @@ class Puppet::Parser::Scope private :qualified_scope - # Look up a variable. The simplest value search we do. + # Look up a variable. The simplest value search we do. def lookupvar(name, options = {}) table = ephemeral?(name) ? @ephemeral.last : @symtable # If the variable is qualified, then find the specified scope and look the variable up there instead. if name =~ /^(.*)::(.+)$/ - begin + begin qualified_scope($1).lookupvar($2,options) rescue RuntimeError => e location = (options[:file] && options[:line]) ? " at #{options[:file]}:#{options[:line]}" : '' |
