g2p / bedup

Btrfs deduplication
http://pypi.python.org/pypi/bedup
GNU General Public License v2.0
322 stars 50 forks source link

Fix RuntimeError/Issue #67 #73

Open Corey-J-Bukolt opened 8 years ago

Corey-J-Bukolt commented 8 years ago

It seems this is caused by line 551 and the fact that in Python3 .items() creates an iterator object unlike Py2 which creates a copy of the object. Using dict(ri_rel).items() creates an iterator of a copy of ri_rel allowing 551 to modify the original ri_rel without triggering an exception.

Tested on my own system without issues.

srl295 commented 2 years ago

Fixes: #67