Changeset 269
- Timestamp:
- 07/29/08 16:52:49 (5 years ago)
- File:
-
- 1 edited
-
pyyaml/trunk/lib/yaml/constructor.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/lib/yaml/constructor.py
r258 r269 322 322 fraction = 0 323 323 if values['fraction']: 324 fraction = int(values['fraction'][:6].ljust(6, '0')) 324 fraction = values['fraction'][:6] 325 while len(fraction) < 6: 326 fraction += '0' 327 fraction = int(fraction) 325 328 delta = None 326 329 if values['tz_sign']:
Note: See TracChangeset
for help on using the changeset viewer.
