[rubyripper] push by boukewou...@gmail.com - Move out of the loop when the iterator is deleted in the loop. on 2013-01-24 20:46 GMT

0 views
Skip to first unread message

rubyr...@googlecode.com

unread,
Jan 24, 2013, 3:47:08 PM1/24/13
to rubyrippe...@googlegroups.com
Revision: d74cbef1641a
Author: Bouke Woudstra <boukew...@gmail.com>
Date: Thu Jan 24 12:46:08 2013
Log: Move out of the loop when the iterator is deleted in the loop.

http://code.google.com/p/rubyripper/source/detail?r=d74cbef1641a

Modified:
/lib/rubyripper/secureRip.rb

=======================================
--- /lib/rubyripper/secureRip.rb Thu Jan 24 12:40:21 2013
+++ /lib/rubyripper/secureRip.rb Thu Jan 24 12:46:08 2013
@@ -329,6 +329,7 @@
file1.pos = key + BYTES_WAV_CONTAINER
file1.write(result)
@errors.delete(key)
+ break
end
end
end
Reply all
Reply to author
Forward
0 new messages