~mvo/update-manager/not-automatic

« back to all changes in this revision

Viewing changes to AutoUpgradeTester/UpgradeTestBackendChroot.py

  • Committer: Michael Vogt
  • Date: 2009-01-20 12:02:08 UTC
  • Revision ID: michael.vogt@ubuntu.com-20090120120208-g8qjrh8j22pmnrv8
AutoUpgradeTester/UpgradeTestBackendChroot.py: move tempdir, cachetarball into the new CHROOT section

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
                        print "Can't copy '%s' (%s)" % (f,e)
87
87
 
88
88
    def _getTmpDir(self):
89
 
        tmpdir = self.config.getWithDefault("NonInteractive","Tempdir",None)
 
89
        tmpdir = self.config.getWithDefault("CHROOT","Tempdir",None)
90
90
        if tmpdir is None:
91
91
            tmpdir = tempfile.mkdtemp()
92
92
        else:
105
105
 
106
106
        # don't bootstrap twice if this is something we can cache
107
107
        try:
108
 
            if (self.config.getboolean("NonInteractive","CacheTarball") and
 
108
            if (self.config.getboolean("CHROOT","CacheTarball") and
109
109
                os.path.exists(self.tarball) ):
110
110
                return True
111
111
        except ConfigParser.NoOptionError: