Ejemplo n.º 1
0
 def markUpgrades(self):
     """Finds all packages that can be updated, and marks them for \
     updating.
     """
     t = Transaction()
     self.upgrades = t.toBeUpgraded()
     newT = Transaction()
     upgrades = newT.toBeUpgraded()
     for app in upgrades:
         if app['Name'] not in self.installList:
             self.upgradeList[app['Name']] = app