Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/sqlite3/dbapi2.py

    r2 r391  
    1 #-*- coding: ISO-8859-1 -*-
     1# -*- coding: iso-8859-1 -*-
    22# pysqlite2/dbapi2.py: the DB-API 2.0 interface
    33#
     
    6969        hours, minutes, seconds = map(int, timepart_full[0].split(":"))
    7070        if len(timepart_full) == 2:
    71             microseconds = int(timepart_full[1])
     71            microseconds = int('{:0<6.6}'.format(timepart_full[1].decode()))
    7272        else:
    7373            microseconds = 0
Note: See TracChangeset for help on using the changeset viewer.