Browse code

fix add_minor

Hanno Böck authored on13/12/2019 10:50:50
Showing1 changed files
... ...
@@ -134,7 +134,7 @@ for fdir in opts.dirs:
134 134
                         if 'add_minor' in det:
135 135
                             findversion = findversion.split('.')
136 136
                             findversion[-1] = str(int(findversion[-1])
137
-                                                  + int(item['add_minor']))
137
+                                                  + int(det['add_minor']))
138 138
                             findversion = '.'.join(findversion)
139 139
 
140 140
                         if (not versioncompare(item['safe'], findversion)