chapmanb / bcbb

Incubator for useful bioinformatics code, primarily in Python and R
http://bcbio.wordpress.com
603 stars 243 forks source link

Python 2/3 compatibiliy fixes #96

Closed mspinelli closed 9 years ago

mspinelli commented 9 years ago

Changed object.next() to next(object) and used six library to handle urlib.unquote -> urlib.parse.unquote issues, as well as dictionary viewkeys -> keys issue.

chapmanb commented 9 years ago

Thanks so much for this. I pushed out a 0.6.2 release with the fixes. I also changed the viewkeys usage as that is not present in six 1.5.2 which ships with Ubuntu 14.04 packages. I think the new usage should be equivalent without requiring a more recent version. Thank you again.