On Tue, Apr 5, 2011 at 6:58 PM, Dan McGee <dpmcgee@gmail.com> wrote:
On Tue, Apr 5, 2011 at 7:54 PM, elij <elij.mx@gmail.com> wrote:
- no need to use mysql - just considering categories as an integer range, specified to the size of that in the aur-schema. - use logging module instead of writing directly to stderr this makes the code cleaner as there is only one test for the value of DBUG. Are we allergic to the letter 'E'? Sems slly to abreviate by one ltter, so why have it at all? Just set the logging level to DEBUG by default and anyone can tweak it to INFO if they feel so inclined.
Fact. W ar allrgic to th lttr ' '. :P I didn't really even think about adding the missing E. I agree that if someone needs to edit the debug flag, they might as well just change the log var themselves. I thought about using optparse, but this script is so 'one off' that I wasn't sure it was worth the time to be honest. Yet...I still contributed patches for other things. ha!