~mvo/update-manager/not-automatic

« back to all changes in this revision

Viewing changes to UpdateManager/Core/MyCache.py

  • Committer: Michael Vogt
  • Date: 2009-02-16 12:14:41 UTC
  • Revision ID: michael.vogt@ubuntu.com-20090216121441-yfjekncpk04n9hjz
handle getting not-automatic: yes changelogs

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
 
179
179
        # get the source version, start with the binaries version
180
180
        binver = pkg.candidateVersion
181
 
        srcver_epoch = pkg.candidateVersion
 
181
        # handle not-automatic special
 
182
        if self.notAutomaticUpgradable(pkg):
 
183
            binver = pkg._pkg.VersionList[0].VerStr
 
184
        srcver_epoch = binver
182
185
        srcver = self._strip_epoch(srcver_epoch)
183
186
        #print "bin: %s" % binver
184
187