Browse files

Don't spew frightening warnings needlessly

  • Loading branch information...
1 parent f6a92ce commit 4c5bbb3e60410ec02495a072ea25c806549d6238 @wdenton committed with Sep 13, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 extract-tpl-ddc-from-090.rb
View
3 extract-tpl-ddc-from-090.rb
@@ -9,6 +9,7 @@
call_number.gsub!(/[A-Za-z\/].*/, '') # Remove any letters and slashes (/)
puts call_number if call_number.to_i < 1000 && call_number.length > 0
rescue Exception => e
- STDERR.puts "(Error #{e}) #{line}"
+ # Uncomment to see the call numbers that aren't Dewey
+ # STDERR.puts "(Error #{e}) #{line}"
end
end

0 comments on commit 4c5bbb3

Please sign in to comment.