Skip to content

Commit

Permalink
fix #9838
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Mar 24, 2014
1 parent 7f522f9 commit 7c2038d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/ftools_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def createUniqueFieldName( field ):
else:
val = val + 1
field.setName( shortName[len( shortName )-1:] + unicode( val ) )
except exceptions.ValueError:
except ValueError:
field.setName( shortName + "_2" )
else:
field.setName( shortName + "_2" )
Expand Down

0 comments on commit 7c2038d

Please sign in to comment.