summaryrefslogtreecommitdiffstats
path: root/lib/puppet/transportable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/transportable.rb')
-rw-r--r--lib/puppet/transportable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/transportable.rb b/lib/puppet/transportable.rb
index c0b3edcfc..b97817c85 100644
--- a/lib/puppet/transportable.rb
+++ b/lib/puppet/transportable.rb
@@ -157,7 +157,7 @@ module Puppet
# Convert to a parseable manifest
def to_manifest
unless self.top
- raise Puppet::DevError, "No keyword; cannot convert to manifest" unless defined?(@keyword) and @keyword
+ raise Puppet::DevError, "No keyword; cannot convert to manifest" unless @keyword
end
str = "#{@keyword} #{@name} {\n%s\n}"