Warning: Can't synchronize with the repository (Unsupported version control system "mtn": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #2 (closed defect: fixed)

Opened 5 years ago

Last modified 8 months ago

many datetime.datetime to int compare errors as of trac rev 4475

Reported by: marcel@… Owned by: moschny
Priority: major Component: tracmtn
Version: Keywords:
Cc:

Description

From casual inspection it seems that either trac switched to datetime objects or earlier checks/conversions are not present anymore in the trac trunk (rev 4475 )

Inserting conversions (for example in util/datefmt.py) helps getting rid of some, but i wonder is the mtn.dates() method should perhaps be adapted to return a list of datetime objects?

Attachments

Change History

Changed 5 years ago by moschny

  • owner changed from moschny to anonymous
  • status changed from new to assigned

You are perfectly right, mtn.dates() should return datetime objects. I already have a patch, need to polish it a bit as to not break compatibility with trac 0.10.

Changed 5 years ago by moschny

  • owner changed from anonymous to moschny
  • status changed from assigned to new

Changed 5 years ago by moschny

  • status changed from new to assigned

Changed 5 years ago by moschny

Fixed in r05e4a03d et seq., please test the new version 0.0.3.

Changed 5 years ago by moschny

  • status changed from assigned to closed
  • resolution set to fixed

Closing this bug. Feel free to reopen it in case something is still not working.

Add/Change #2 (many datetime.datetime to int compare errors as of trac rev 4475)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.