Comment 2 for bug 425630

Revision history for this message
Severin H (severinh) wrote :

Hi Marcel,

what a coincidence: Yesterday I thought for a moment that I could start making use of the "Offer mentorship" feature Launchpad provides. :-)

This bug seems pretty well-suited for that. It doesn't require you to dive into the internals of LottaNZB, because you basically only need to edit the desktop/apport/lottanzb.py file. The problem right now is that I couldn't really let other people work on the 0.6 branch as many fundamental parts of the application are being changed heavily at the moment. And as the GUI hasn't been migrated to the new SABnzbd backend yet, it's not even possible to give things a try in an easy way. I will still require a few weeks until I can offer mentorship for 0.6 tasks with a good conscience.

Regarding this bug: I guess fixing this bug won't be possible without getting used to regular expressions (the Python 're' module). Document your code. Having a look at PEP 8 (http://www.python.org/dev/peps/pep-0008/) isn't a bad idea either (I tend to use more newlines than they suggest ;-)). There's a typo in line 72 ("passoword"). "import getpass; getpass.getuser()" returns the name of the current user.

The fix will eventually be merged into the 0.6 branch, but it will require some new SABnzbd-specific code.

Happy hacking!