[cvsnt] Re: ViewCVS Question (SOLVED)

Bo Berglund bo.berglund at telia.com
Wed Feb 23 06:53:26 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.
>
>Dan Pupek
>Software Engineer
>Advanced Systems Technology, Inc
>dpupek at astpcola.com <mailto:dpupek at astpcola.com>
>(850) 475-4038

I will forward this to the ViewCvs developers.
Thanks.


/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list