diff options
author | Luke Kanies <luke@reductivelabs.com> | 2010-01-06 16:44:48 -0800 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 644ad7e41880fe8c9e73a099e9d6644e19828f46 (patch) | |
tree | 83c18503186ee47054abef8170a3c45b167c009a /lib/puppet/util/rdoc/parser.rb | |
parent | 9f8e0c0516421b0250454d54c935c8517170a93f (diff) | |
download | puppet-644ad7e41880fe8c9e73a099e9d6644e19828f46.tar.gz puppet-644ad7e41880fe8c9e73a099e9d6644e19828f46.tar.xz puppet-644ad7e41880fe8c9e73a099e9d6644e19828f46.zip |
Fixing callers to Parser to only pass environment
We previously passed a hash of options but now just
the environment.
Signed-off-by: Luke Kanies <luke@reductivelabs.com>
Diffstat (limited to 'lib/puppet/util/rdoc/parser.rb')
-rw-r--r-- | lib/puppet/util/rdoc/parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/util/rdoc/parser.rb b/lib/puppet/util/rdoc/parser.rb index 9a2bef932..0693c44a5 100644 --- a/lib/puppet/util/rdoc/parser.rb +++ b/lib/puppet/util/rdoc/parser.rb @@ -33,7 +33,7 @@ class Parser def scan Puppet.info "rdoc: scanning %s" % @input_file_name if @input_file_name =~ /\.pp$/ - @parser = Puppet::Parser::Parser.new(:environment => Puppet[:environment]) + @parser = Puppet::Parser::Parser.new(Puppet[:environment]) @parser.file = @input_file_name @ast = @parser.parse end |