Django

Code

Changeset 1883

Show
Ignore:
Timestamp:
01/08/06 23:11:13 (2 years ago)
Author:
adrian
Message:

Fixed #1195 -- Fixed formfields.TimeField? bug introduced in [1872]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/formfields.py

    r1872 r1883  
    772772                t = t.replace(microsecond=int(part_list[1])) 
    773773            return t 
    774         except (ValueError, TypeError): 
     774        except (ValueError, TypeError, AttributeError): 
    775775            return None 
    776776    html2python = staticmethod(html2python)