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

2011-04-06 Thread Rémy Oudompheng
On Tue 05 April 2011 at 17:54 -0700, elij wrote: - no need to use mysql - just considering categories as an integer range, specified to the size of that in the aur-schema. So does this produce valid SQL commands ? Why don't you escape the strings anymore ? - use logging module instead of

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

2011-04-06 Thread elij
On Tue, Apr 5, 2011 at 11:20 PM, Rémy Oudompheng remyoudomph...@gmail.com wrote: On Tue 05 April 2011 at 17:54 -0700, elij wrote: - no need to use mysql - just considering categories as an integer range, specified to the size   of that in the aur-schema. So does this produce valid SQL

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

2011-04-05 Thread Dan McGee
On Tue, Apr 5, 2011 at 7:54 PM, elij elij...@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

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

2011-04-05 Thread elij
On Tue, Apr 5, 2011 at 6:58 PM, Dan McGee dpmc...@gmail.com wrote: On Tue, Apr 5, 2011 at 7:54 PM, elij elij...@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