[aur-dev] [PATCH 1/4] make gendummydata script more friendly

elij elij.mx at gmail.com
Tue Apr 5 22:23:38 EDT 2011


On Tue, Apr 5, 2011 at 6:58 PM, Dan McGee <dpmcgee at gmail.com> wrote:
> On Tue, Apr 5, 2011 at 7:54 PM, elij <elij.mx at 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!


More information about the aur-dev mailing list