[cvsnt] Re: ViewCVS Question (SOLVED)

Bo Berglund bo.berglund at telia.com
Wed Feb 23 07:09:52 GMT 2005


On Tue, 22 Feb 2005 18:26:41 -0600, "Dan Pupek" <dpupek at astpcola.com>
wrote:

>Ok I found the problem (or should I say a posting about the problem)...maybe
>it's fixed in the latest version.
>
>In dbi.py @ line 53 Replace:
>
>  else: # datetime is an mx.DateTime object
>     t = datetime.tuple()
>
>WITH:
>  elif hasattr(datetime, "timetuple"):
>    # datetime is a Python >=2.3 datetime.DateTime object
>    t = datetime.timetuple()
>  else:
>    # datetime is an eGenix mx.DateTime object
>     t = datetime.tuple()
>
>Python >= 2.3 replaces datetime.tuple with datetime.timetuple.
>

This is already solved in the ViewCvs HEAD revision from CVS.


/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list