3a09c2ddfdb1c586f6704363676d6f202c40e65d,functions/KeyMetadata.py,KeyMetadata,updateKeyMetadata,#KeyMetadata#Any#Any#,103
Before Change
return keyMetadata
properties = self.props
if bandIndex != -1:
if "bandproperties" not in properties.keys():
return keyMetadata
bandProps = self.props["bandproperties"]
if not bandProps or len(bandProps) < bandIndex + 1:
return keyMetadata
properties = bandProps[bandIndex]
for name in names:
if name in properties.keys():
assign = properties[name]
keyMetadata[name] = str(assign) if isinstance(assign, unicode) else assign
return keyMetadata
After Change
return keyMetadata
for name in names:
if properties.has_key(name):
v = properties[name]
keyMetadata[name] = str(v) if isinstance(v, unicode) else v
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: Esri/raster-functions
Commit Name: 3a09c2ddfdb1c586f6704363676d6f202c40e65d
Time: 2015-05-26
Author: rsumbaly@esri.com
File Name: functions/KeyMetadata.py
Class Name: KeyMetadata
Method Name: updateKeyMetadata
Project Name: Esri/raster-functions
Commit Name: 54efdc47f1d5b2952033539fa157e2c3b8b2d586
Time: 2015-05-26
Author: akferoz@esri.com
File Name: functions/KeyMetadata.py
Class Name: KeyMetadata
Method Name: updateKeyMetadata
Project Name: Esri/raster-functions
Commit Name: d29d0c240d88c351e5b8b0e81d76c5ef2be2bd9b
Time: 2016-02-05
Author: akferoz@esri.com
File Name: functions/ZonalRemap.py
Class Name: ZonalRemap
Method Name: updatePixels