Applied the fix from http://trac.turbogears.org/turbogears/ticket/738 for the bug https://sourceforge.net/tracker/index.php?func=detail&aid=1421647&group_id=74338&atid=540672
Applied the fix from http://trac.turbogears.org/turbogears/ticket/738
for the bug https://sourceforge.net/tracker/index.php?func=detail&aid=1421647&group_id=74338&atid=540672


git-svn-id: 07e5abd2c6e244bc465bf007dc23a4c6bc1bee58@1774 95a46c32-92d2-0310-94a5-8d71aeb3d4b3

drnlm/sqlobject,sqlobject/sqlobject,sqlobject/sqlobject,drnlm/sqlobject