Merge lp:~therp-nl/openupgrade-server/6.0-include_recursive_deps into lp:openupgrade-server/6.0
Status: | Merged |
---|---|
Merged at revision: | 3496 |
Proposed branch: | lp:~therp-nl/openupgrade-server/6.0-include_recursive_deps |
Merge into: | lp:openupgrade-server/6.0 |
Diff against target: |
38 lines (+15/-13) 1 file modified
bin/openupgrade/openupgrade.py (+15/-13) |
To merge this branch: | bzr merge lp:~therp-nl/openupgrade-server/6.0-include_recursive_deps |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | code review | Approve on 2014-05-05 | |
Pedro Manuel Baeza | code review | 2014-04-30 | Approve on 2014-04-30 |
Review via email:
|
Description of the change
OpenUpgrade injects new module dependencies during the upgrade process, to prevent the 'Unmet module dependency' error. I was lazy when adding this method and did not iterate recursively to include the dependencies of the new dependencies. This change fixes that.
6.1 version here: https:/
7.0 version here: https:/
Ah yes, I'll prepare a 7.0 ;-)
If module list is empty, no sql is executed because of the 'while' statement.
Pedro Manuel Baeza (pedro.baeza) wrote : | # |
Yeah, of course!! I didn't catch while condition.
Everything is right then.
Thanks for the improvement.
Regards.
module_list can be empty?
In that case, sql sentence is correctly executed?
v7 version is not needed?
Regards.