Skip to content

Commit 67eb0c1

Browse files
committed
da.Describe to .Describe
1 parent 2935b44 commit 67eb0c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Scripts/GeMS_ValidateDatabase_Arc10.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ def isFeatureDatasetAMap(fd):
257257
MUP = ''
258258
fcs = arcpy.ListFeatureClasses()
259259
for fc in fcs:
260-
desc = arcpy.da.Describe(fc)
261-
shape = desc.shapeType(fc)
260+
desc = arcpy.Describe(fc)
261+
shape = desc.shapeType
262262
if fc.find('ContactsAndFaults') > -1 and fc.lower().find('anno') == -1 and shape in ('Line', 'Polyline'):
263263
CAF = fc
264264
if fc.find('MapUnitPolys') > -1 and fc.lower().find('anno') == -1 and shape == 'Polygon':

0 commit comments

Comments
 (0)