Changeset 58 in tracdarcs for tracdarcs/repository.py


Ignore:
Timestamp:
01/14/07 06:04:02 (6 years ago)
Author:
Paul Snively <paul@…>
Hash name:
20070114050402-f8cf6-2d7813f6e6e7fecca52e2ab1f70b22b084b5955f
Message:

Now repaired to be actual valid SQL92 and tested with both SQLite and MySQL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tracdarcs/repository.py

    r57 r58  
    335335            raise NoSuchChangeset( rev ) 
    336336        author,date,name,comment = row 
     337        if isinstance(date, long): 
     338          date = datetime.strptime(str(date), '%Y%m%d%H%M%S') 
    337339        date = date.replace(tzinfo = pytz.utc) 
    338340        msg = name 
Note: See TracChangeset for help on using the changeset viewer.