MetricsGrimoire / Bicho

Bicho is a command line based tool used to parse bug/issue tracking systems
http://metricsgrimoire.github.com/Bicho/
GNU General Public License v2.0
68 stars 30 forks source link

Config.py: changing vars to getattr, and adding docstrings and comments #100

Closed brainwane closed 10 years ago

brainwane commented 10 years ago

We were using vars(object) in inconsistent ways, so I have simplified functions that were using vars by using getattr instead.

I've also added several comments and docstrings to clarify various methods.

brainwane commented 10 years ago

Hmm; just tested and got:

./bicho --db-user-out=root --db-password-out=[password] --db-database-out=bicho_test -d 15 -b bg -u "https://bugzilla.libresoft.es/buglist.cgi?product=bicho" Checking URL: https://bugzilla.libresoft.es No bugzilla account provided, mail addresses won't be retrieved Running Bicho with delay of 15 seconds No issues found. Did you provide the correct url?

Take a look at the change; any ideas?

brainwane commented 10 years ago

Actually, I also tested the same invocation on master, and got the same error. So either the Bugzilla integration is also now broken on master, or bugzilla.libresoft.es is being weird somehow. So I believe you can merge my pull request. :-)