Browse code

codingstyle

Hanno Böck authored on08/12/2019 15:07:47
Showing1 changed files
... ...
@@ -131,7 +131,7 @@ for sect in config.sections():
131 131
 
132 132
     # match magic
133 133
     item['variable'] = re.compile(re.escape(config.get(sect, 'variable'))
134
-                                + r"[^0-9\n\r]*[.]*([0-9.]*[0-9])[^0-9.]")
134
+                                  + r"[^0-9\n\r]*[.]*([0-9.]*[0-9])[^0-9.]")
135 135
 
136 136
     # optional options
137 137
     if config.has_option(sect, 'extra_match'):
... ...
@@ -189,7 +189,7 @@ for fdir in args:
189 189
                     findversion = item['variable'].search(filestr)
190 190
                     if not findversion:
191 191
                         continue
192
-                    findversion=findversion.group(1)
192
+                    findversion = findversion.group(1)
193 193
 
194 194
                     # Very ugly phpbb workaround
195 195
                     if item['add_minor']: