Changeset 19386


Ignore:
Timestamp:
Apr 11, 2010 12:20:36 PM (6 years ago)
Author:
rouault
Message:

Restore original output for python 2.X

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gdal/swig/python/samples/tolatlong.py

    r18195 r19386  
    110110print('pixel: %g\t\t\tline: %g' % (pixel, line))
    111111print('latitude: %fd\t\tlongitude: %fd' % (lat, int))
    112 print('latitude: ', gdal.DecToDMS(lat, 'Lat', 2), \
    113     '\tlongitude: ', gdal.DecToDMS(int, 'Long', 2))
     112print('latitude: %s\t\tlongitude: %s' % (gdal.DecToDMS(lat, 'Lat', 2), gdal.DecToDMS(int, 'Long', 2)))
    114113
Note: See TracChangeset for help on using the changeset viewer.