On Apr 30, 2007, at 7:11 PM, Carl Karsten wrote:
>> I see 3 places where this is needed in dBizobj. So I have a choice >> to triplicate the code in those places, or I could write it once in a >> function and call that function from three different places. > > It may help if you add a docstring to _getCursorClass(), but I > still have no > clue where to put my code.
Oh, c'mon. The name and code is self-documenting. What else could possibly be useful?
> The closest thing I have gotten in the way of advice from you is: > >> update dbMySQL.py to include that >> code, and dBackend.py to add the default method behavior. >> > > Should I just add it, and if you don't like it you can tell me how > to implement > it?
You haven't explained why "getDBs()" is not generic. It returns a list of available databases for a connection, based on what you've written. How is that not generic?
-- Ed Leafe -- http://leafe.com -- http://dabodev.com
©2007 Ed Leafe |