I'm attempting to use pydoc to document a class that inherits from
SQLObject. Something in my code is depreciated, causing the error message
I've included below. However, I'm having some trouble tracking down exactly
what, since I'm not accessing any columns or cached values in the class in
question.

As you may notice, the line referenced in the warning message is not the
line in my code where the exception was thrown but the line in
sqlobject/main.py, where the exception was handled. Is there a way to find
out what piece of my code threw the warning?


BAD BAD BAD BAD CONFIGURATION
./sqlobject/main.py:589: DeprecationWarning: Use of this attribute should be
replaced with .sqlmeta.cacheValues
 '.sqlmeta.%s' % self.name, level=self.deprecation_level)
./sqlobject/main.py:589: DeprecationWarning: Use of this attribute should be
replaced with .sqlmeta.columns
 '.sqlmeta.%s' % self.name, level=self.deprecation_level)
./sqlobject/main.py:589: DeprecationWarning: Use of this attribute should be
replaced with .sqlmeta.columnList
 '.sqlmeta.%s' % self.name, level=self.deprecation_level)

Thanks,
Molly
-------------------------------------------------------------------------
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