[file-store-4] remove wrong space

This commit is contained in:
Alexander Machehin 2012-11-12 22:37:38 +06:00
parent 8b2126d2a7
commit 4d58ff5019
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ url = 'http://file-store.rosalinux.ru/api/v1/file_stores.json'
#url = 'http://localhost:3001/api/v1/file_stores.json' #url = 'http://localhost:3001/api/v1/file_stores.json'
rclient = RestClient::Resource.new(url, :user => ARGF.argv[0]) # user auth token rclient = RestClient::Resource.new(url, :user => ARGF.argv[0]) # user auth token
Dir.glob("*.{tar\.bz2,tar\.gz,bz2,rar,gz,tar,tbz2,tgz,zip,Z,7z, tar\.xz}").uniq.sort.each do |file| Dir.glob("*.{tar\.bz2,tar\.gz,bz2,rar,gz,tar,tbz2,tgz,zip,Z,7z,tar\.xz}").uniq.sort.each do |file|
begin begin
#next if File.size(file) < MAX_SIZE #next if File.size(file) < MAX_SIZE