On Mon, Dec 11, 2006 at 09:03:04AM +0100, Robert wrote:
> Oleg: this gives you no control over actual table names.

   I have found the root of the problem:

class common_sqlmeta(sqlmeta):
   idName = "my_id"

class Test1_sqlmeta(common_sqlmeta):
   table = "my_test_11"

print common_sqlmeta.idName # => my_id
print Test1_sqlmeta.idName  # => None

   That None has been set by sqlmeta.__classinit__(). That's certainly a
bug that must be fixed. I'll consult Ian about it.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to