Changeset 386 for trunk/email2trac.py.in


Ignore:
Timestamp:
06/28/10 07:57:55 (14 years ago)
Author:
bas
Message:

Ticket update for version 0.12 did not work, closes #209

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r383 r386  
    766766                # When is the change committed
    767767                #
    768                 if self.VERSION == 0.11:
     768                if self.VERSION < 0.11:
     769                        when = int(time.time())
     770                else:
    769771                        utc = UTC()
    770772                        when = datetime.now(utc)
    771                 else:
    772                         when = int(time.time())
    773773
    774774                try:
Note: See TracChangeset for help on using the changeset viewer.