~mvo/update-manager/not-automatic

« back to all changes in this revision

Viewing changes to DistUpgrade/DistUpgradeViewNonInteractive.py

  • Committer: Michael Vogt
  • Date: 2007-05-03 17:21:48 UTC
  • Revision ID: michael.vogt@ubuntu.com-20070503172148-u5clf2ej46wtomuy
* DistUpgrade/profile/dapper-main-all/:
  - added dapper->feisty test
* DistUpgrade/DistUpgradeViewNonInteractive.py:
  - fixes in the non-interactive install progress code
* DistUpgrade/UpgradeTestBackendQemu.py:
  - use vlc
  - have custom kernels
* DistUpgrade/profile/edgy-proposed/DistUpgrade.cfg:
  - fix mirrors

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
import logging
24
24
import time
25
25
import sys
26
 
from DistUpgradeView import DistUpgradeView
 
26
from DistUpgradeView import DistUpgradeView, InstallProgress
27
27
from DistUpgradeConfigParser import DistUpgradeConfig
28
28
import os
29
29
import pty
38
38
        #logging.debug("Fetch: updateStatus %s %s" % (uri, status))
39
39
        pass
40
40
 
41
 
class NonInteractiveInstallProgress(apt.progress.InstallProgress):
 
41
class NonInteractiveInstallProgress(InstallProgress):
42
42
    def __init__(self):
43
 
        apt.progress.InstallProgress.__init__(self)
 
43
        InstallProgress.__init__(self)
44
44
        os.environ["DEBIAN_FRONTEND"] = "noninteractive"
45
45
        os.environ["APT_LISTCHANGES_FRONTEND"] = "none"
46
46
        self.config = DistUpgradeConfig(".")