python 2.6 support

View: New views
1 Messages — Rating Filter:   Alert me  

python 2.6 support

by Ben Roberts-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Python 2.6 has changed and object.__init__() no longer takes arbitrary
arguments.  Using 2.6 just leads to constant TypeError messages

simply add a blank __init__ function to BaseProtogenClass and all is
fixed :)

prototypes.py:88

 class BaseProtogenClass(object):
     """All types are derived from this"""
     def __init__(self, *args, **kwargs):
         "Do Nothing"



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
BitPim-devel mailing list
BitPim-devel@...
https://lists.sourceforge.net/lists/listinfo/bitpim-devel