Merge lp://qastaging/~cjwatson/update-manager/python-apt-0.8 into lp://qastaging/~canonical-foundations/update-manager/py3
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 2452 |
Proposed branch: | lp://qastaging/~cjwatson/update-manager/python-apt-0.8 |
Merge into: | lp://qastaging/~canonical-foundations/update-manager/py3 |
Diff against target: |
1450 lines (+233/-198) 25 files modified
AutoUpgradeTester/auto-install-tester.py (+12/-9) AutoUpgradeTester/install_all.py (+1/-1) AutoUpgradeTester/install_all_main.py (+10/-8) AutoUpgradeTester/install_universe (+1/-1) AutoUpgradeTester/post_upgrade_tests/kernel_test.py (+1/-1) DistUpgrade/DistUpgradeAptCdrom.py (+5/-5) DistUpgrade/DistUpgradeCache.py (+52/-52) DistUpgrade/DistUpgradeController.py (+25/-25) DistUpgrade/DistUpgradeQuirks.py (+15/-13) DistUpgrade/DistUpgradeView.py (+5/-5) DistUpgrade/DistUpgradeViewGtk.py (+1/-1) DistUpgrade/DistUpgradeViewGtk3.py (+1/-1) DistUpgrade/DistUpgradeViewKDE.py (+1/-1) DistUpgrade/DistUpgradeViewNonInteractive.py (+1/-1) DistUpgrade/apt-autoinst-fixup.py (+10/-12) UpdateManager/Core/MyCache.py (+17/-17) UpdateManager/Core/UpdateList.py (+3/-3) UpdateManager/DistUpgradeFetcherKDE.py (+1/-1) UpdateManager/GtkProgress.py (+3/-3) UpdateManager/UpdateManager.py (+21/-18) UpdateManagerText/UpdateManagerText.py (+10/-10) debian/changelog (+26/-0) debian/control (+2/-2) tests/test_update_origin.py (+8/-7) utils/est_kernel_size.py (+1/-1) |
To merge this branch: | bzr merge lp://qastaging/~cjwatson/update-manager/python-apt-0.8 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Evan (community) | Approve | ||
Review via email:
|
Description of the change
Completely porting to the python-apt 0.8 API is a prerequisite for a Python 3 port of update-manager.
Bits and pieces of this work have been haphazardly done up to now. This branch should, I think, finish the job; at any rate all the remaining messages emitted by /usr/share/
To post a comment you must log in.
The API changes look sane.
I imagine you want to tackle further changes in a separate branch, as you mentioned to Oliver on IRC. pyflakes outputs a lot, some of which being actual errors (typos, though unrelated to the API changes):
% find -name '*.py' | xargs pyflakes DistUpgradeCach e.py:37: redefinition of unused 'configparser' from MetaRelease. py:28: redefinition of unused 'configparser' from line MetaRelease. py:32: redefinition of unused 'BadStatusLine' from lin MetaRelease. py:43: redefinition of unused 'HTTPError' from line 41
./DistUpgrade/
line 35
./DistUpgrade/
26
./DistUpgrade/
e 30
./DistUpgrade/
./DistUpgrade/ MetaRelease. py:43: redefinition of unused 'Request' from line 40 MetaRelease. py:43: redefinition of unused 'URLError' from line 41 MetaRelease. py:43: redefinition of unused 'urlopen' from line 40 DistUpgradeView NonInteractive. py:39: redefinition of unused 'NoSec DistUpgradeView NonInteractive. py:39: redefinition of unused 'NoOpt utils.py: 50: redefinition of unused 'ProxyHandler' from line 41 utils.py: 50: redefinition of unused 'Request' from line 41 utils.py: 50: redefinition of unused 'build_opener' from line 41 utils.py: 50: redefinition of unused 'install_opener' from line 41 utils.py: 50: redefinition of unused 'urlopen' from line 41 utils.py: 57: redefinition of unused 'urlsplit' from line 48 utils.py: 218: undefined name 'dist' DistUpgradeCont roller. py:44: redefinition of unused 'SafeConfigPar DistUpgradeCont roller. py:47: redefinition of unused 'SafeConfigPar DistUpgradeCont roller. py:47: redefinition of unused 'NoOptionError DistUpgradeCont roller. py:60: redefinition of unused 'urlsplit' fro DistUpgradeConf igParser. py:10: redefinition of unused 'SafeConfigP DistUpgradeConf igParser. py:13: redefinition of unused 'SafeConfigP DistUpgradeConf igParser. py:13: redefinition of unused 'NoOptionErr DistUpgradeConf igParser. py:13: redefinition of unused 'NoSectionEr ster/post_ upgrade_ tests/test_ lts_upgrade_ system. py:21: redefiniti ster/UpgradeTes tBackendQemu. py:11: redefinition of unused 'config ster/UpgradeTes tBackendChroot. py:17: redefinition of unused 'conf ster/UpgradeTes tBackendEC2. py:15: redefinition of unused 'configp ster/UpgradeTes tBackend. py:11: redefinition of unused 'configpars /Core/MyCache. py:35: redefinition of unused 'HTTPError' from line /Core/MyCache. py:35: redefinition of unused 'urlopen' from line 3 /Core/MyCache. py:36: redefinition of unused 'urlsplit' from line /Core/MyCache. py:40: redefinition of unused 'BadStatusLi...
./DistUpgrade/
./DistUpgrade/
./DistUpgrade/
tionError' from line 37
./DistUpgrade/
ionError' from line 37
./DistUpgrade/
./DistUpgrade/
./DistUpgrade/
./DistUpgrade/
./DistUpgrade/
./DistUpgrade/
./DistUpgrade/
./DistUpgrade/
ser' from line 42
./DistUpgrade/
ser' from line 44
./DistUpgrade/
' from line 40
./DistUpgrade/
m line 58
./DistUpgrade/
arser' from line 8
./DistUpgrade/
arser' from line 10
./DistUpgrade/
or' from line 6
./DistUpgrade/
ror' from line 6
./AutoUpgradeTe
on of unused 'configparser' from line 19
./AutoUpgradeTe
parser' from line 9
./AutoUpgradeTe
igparser' from line 15
./AutoUpgradeTe
arser' from line 13
./AutoUpgradeTe
er' from line 9
./UpdateManager
31
./UpdateManager
2
./UpdateManager
33
./UpdateManager