Skip to content

Commit

Permalink
added UnsignedInt16 hack for backward compatibility
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.osgeo.org/gdal/trunk@6986 f0d54148-0727-0410-94bb-9a71ac55c965
  • Loading branch information
warmerdam committed Jan 24, 2005
1 parent 712847a commit 0632909
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pymod/gdalnumeric.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
#******************************************************************************
#
# $Log$
# Revision 1.16 2005/01/24 20:15:24 fwarmerdam
# added UnsignedInt16 hack for backward compatibility
#
# Revision 1.15 2004/11/20 02:02:14 gwalter
# Add option to specify offsets in
# CopyDatasetInfo (for geocoding info).
Expand Down Expand Up @@ -83,6 +86,10 @@

UnsignedInteger = 'u'
UnsignedInt = 'u'
try:
UnsignedInt16
except:
UnsignedInt16 = 'b'

def OpenArray( array, prototype_ds = None ):
ds = gdal.Open( GetArrayFilename(array) )
Expand Down

0 comments on commit 0632909

Please sign in to comment.