Patches item #1483018, was opened at 2006-05-06 08:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1483018&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Russ Ferriday (russf)
Assigned to: Nobody/Anonymous (nobody)
Summary: Play nicely with mxDateTime
Initial Comment:
Related to version:
===========
URL: http://svn.colorstudy.com/SQLObject/trunk
Repository UUID: 95a46c32-92d2-0310-94a5-8d71aeb3d4b3
Revision: 1748
Fixes problem:
=========
File "/usr/local/zope/python/lib/python2.4/site-packages/
SQLObject-0.8dev_r1746-py2.4.egg/sqlobject/col.py", line 63, in ?
TimeType = type(DateTime.Time())
AttributeError: 'module' object has no attribute 'Time'
Description:
========
I'm using SQLObject with Zope and Python 2.4.
Path to Time is longer than the original code was expecting. And it
needs a param - DateTime.
Patch:
====
--- col.py.orig 2006-05-05 19:30:39.000000000 +0100
+++ col.py 2006-05-06 16:02:33.000000000 +0100
@@ -60,7 +60,7 @@
if mxdatetime_available:
DateTimeType = type(DateTime.now())
- TimeType = type(DateTime.Time())
+ TimeType = type(DateTime.DateTime.Time(DateTime.DateTime()))
if datetime_available:
default_datetime_implementation = DATETIME_IMPLEMENTATION
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1483018&group_id=74338
|