BitTornado library forked by me on GitHub

I just forked and committed some patches to the BitTornado library on GitHub.

https://github.com/charlesnagy/BitTornado

Right now I only committed basic fixes to be able to use it in our environment (Python 2.7). Namely:

  • Backlog was not always int which should be enforced so I did a force it and have put the related code part in try except to catch the TypeErrors if any occurs.
  • There was a straightforward fix for a wrongly named package in an import statement.
  • And finally an except had the old format which is not supported by newer versions of Python.

 

You might like these too

Priority queue in Redis aka ZPOP Redis list is great to use it as a processing queue. So great that it sort of became the standard and many people using that instead of dedicated queu...
Dataimport handler for Sunburnt Solr python librar... Dataimport handler I had to trigger the dataimporter delta-import command from the code so I added support for this function. Example: Followin...
5 things to love about python Syntax Takes a bit of time to get used to it but after a certain point it just becomes natural. Like english. No heavy-weight operators or complicate...