summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application/filebucket.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/application/filebucket.rb')
-rw-r--r--lib/puppet/application/filebucket.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/puppet/application/filebucket.rb b/lib/puppet/application/filebucket.rb
index 842e172c1..095a413a7 100644
--- a/lib/puppet/application/filebucket.rb
+++ b/lib/puppet/application/filebucket.rb
@@ -28,15 +28,15 @@ class Puppet::Application::Filebucket < Puppet::Application
def backup
args.each do |file|
unless FileTest.exists?(file)
- $stderr.puts "%s: no such file" % file
+ $stderr.puts "#{file}: no such file"
next
end
unless FileTest.readable?(file)
- $stderr.puts "%s: cannot read file" % file
+ $stderr.puts "#{file}: cannot read file"
next
end
md5 = @client.backup(file)
- puts "%s: %s" % [file, md5]
+ puts "#{file}: #{md5}"
end
end