diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2007-05-23 23:36:19 +0100 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2007-05-23 23:36:19 +0100 |
commit | c94f591946a0436767f2fa0637f1cfd2c22ff3d6 (patch) | |
tree | 2e5c006a2b5c0d90e668d7563b0f4ef132a0603f /lib/sisu/0.52/hub.rb | |
parent | sisu-0.52.7 + md5s (diff) |
restrict use to ruby1.8, plus some minor housekeeping changes file exist? instead of exists?
Diffstat (limited to 'lib/sisu/0.52/hub.rb')
-rw-r--r-- | lib/sisu/0.52/hub.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/0.52/hub.rb b/lib/sisu/0.52/hub.rb index 939b70a5..1f2df5f6 100644 --- a/lib/sisu/0.52/hub.rb +++ b/lib/sisu/0.52/hub.rb @@ -540,7 +540,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ if @opt.fns =~/\._sst$/ and @opt.cmd !~/[S_M]/ # rework necessry, revist, the _ flag is a hack, to keep ._sst files @msg,@msgs='temporary file removed',nil @tell.call.warn unless @opt.cmd =~/V/ - File.unlink(@opt.fns) if File.exists?(@opt.fns) #CONSIDER + File.unlink(@opt.fns) if File.exist?(@opt.fns) #CONSIDER end else #Operations.new(fns,'html').not_found end |