319:1d71264692ef | 320:91b171fdd85f |
---|---|
115 @rtype int | 115 @rtype int |
116 """ | 116 """ |
117 for index, pair in enumerate(definition_info): | 117 for index, pair in enumerate(definition_info): |
118 if pair[0] == name: | 118 if pair[0] == name: |
119 return index | 119 return index |
120 | |
121 return -1 | |
120 | 122 |
121 def _calculateChanges(self): | 123 def _calculateChanges(self): |
122 """ | 124 """ |
123 Protected method to initiate the calculation of the changes. | 125 Protected method to initiate the calculation of the changes. |
124 """ | 126 """ |