Skip to content

Commit 7c2038d

Browse files
committedMar 24, 2014
fix #9838
1 parent 7f522f9 commit 7c2038d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/fTools/tools/ftools_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def createUniqueFieldName( field ):
176176
else:
177177
val = val + 1
178178
field.setName( shortName[len( shortName )-1:] + unicode( val ) )
179-
except exceptions.ValueError:
179+
except ValueError:
180180
field.setName( shortName + "_2" )
181181
else:
182182
field.setName( shortName + "_2" )

0 commit comments

Comments
 (0)
Please sign in to comment.