~ubuntu-core-dev/update-manager/main

« back to all changes in this revision

Viewing changes to DistUpgrade/DistUpgradeViewText.py

  • Committer: Michael Vogt
  • Date: 2011-02-23 17:11:23 UTC
  • Revision ID: michael.vogt@ubuntu.com-20110223171123-wrbx0xuqxvkporh4
merged lp:~thibault-lemaitre/ubuntu/natty/update-manager/from_pkg.isInstalled_to_pkg.is_installed
that fixes a bunch of deprecated python-apt issues (many thanks!)

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
 
257
257
 
258
258
  for pkg in sys.argv[1:]:
259
 
    cache[pkg].markInstall()
 
259
    cache[pkg].mark_install()
260
260
  cache.commit(fp,ip)
261
261
  
262
262
  sys.exit(0)