add conf['oldver'] for get_version
This commit is contained in:
parent
ad31a14c75
commit
ab9f453e3a
|
@ -88,8 +88,10 @@ class Source:
|
|||
if name == '__config__':
|
||||
continue
|
||||
self.task_inc()
|
||||
conf = config[name]
|
||||
conf['oldver'] = self.oldvers.get(name, None)
|
||||
with ExceptionStackContext(self._handle_exception):
|
||||
get_version(name, config[name], self.print_version_update)
|
||||
get_version(name, conf, self.print_version_update)
|
||||
|
||||
def _handle_exception(self, type, value, traceback):
|
||||
self.task_dec()
|
||||
|
|
Loading…
Reference in New Issue