From: Sébastien S. <sa...@us...> - 2008-06-18 08:40:55
|
Hi Skip, thanks for the bug report, I made the correction in trunk: $ svn commit Sybase.py ChangeLog -m "Corrected bug in type mapping in callproc" Envoi ChangeLog Envoi Sybase.py Transmission des données .. Révision 432 propagée. regards -- Sébastien Sablé sk...@po... a écrit : > I see this code in a couple places in Cursor.callproc (v 0.39): > > if self.inputmap is not None: > for tp in type(value).__mro__: > converter = cursor.inputmap.get(tp, None) > if converter is not None: > break > if converter is not None: > value = converter(value) > > "cursor.inputmap" should almost certainly be "self.inputmap". > > Skip > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Python-sybase-misc mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-sybase-misc |