Django

Code

Show
Ignore:
Timestamp:
07/25/08 20:03:24 (4 months ago)
Author:
jbronn
Message:

gis: Changed the inches attribute name from in (a Python reserved keyword) to inch. Thanks, andre_pl.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/gis/django/contrib/gis/measure.py

    r7641 r8077  
    3131and conversions. 
    3232 
    33 Author: Robert Coup, Justin Bronn 
     33Authors: Robert Coup, Justin Bronn 
    3434 
    3535Inspired by GeoPy (http://exogen.case.edu/projects/geopy/) 
     
    102102        'gold_coast_ft' : 0.304799710181508, 
    103103        'indian_yd' : 0.914398530744, 
    104         'in' : 0.0254, 
     104        'inch' : 0.0254, 
    105105        'km': 1000.0, 
    106106        'link' : 0.201168, 
     
    123123        'centimeter' : 'cm', 
    124124        'foot' : 'ft', 
    125         'inches' : 'in', 
     125        'inches' : 'inch', 
    126126        'kilometer' : 'km', 
    127127        'kilometre' : 'km',