~ubuntu-branches/ubuntu/karmic/python-apt/karmic-proposed

« back to all changes in this revision

Viewing changes to apt/cache.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-01-26 08:45:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090126084500-18tv28vlazvr1ea3
Tags: 0.7.9~exp2ubuntu4
* apt/cache.py:
  - when running with the rootdir option, run
    InitConfig() again to ensure that the config
    from the rootdir is read, not from the host
    (lp: #243550)
* apt/package.py:
  - make sure to set the defaulttimeout back to the
    original value (in getChangelog(), LP: #314212)

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
            apt_pkg.Config.Set("Dir", rootdir)
56
56
            apt_pkg.Config.Set("Dir::State::status",
57
57
                               rootdir + "/var/lib/dpkg/status")
 
58
            apt_pkg.InitConfig()
58
59
        self.open(progress)
59
60
 
60
61
    def _runCallbacks(self, name):