~afb/smart/dist

« back to all changes in this revision

Viewing changes to smart/backends/rpm/base.py

  • Committer: Anders F Bjorklund
  • Date: 2011-08-15 07:59:02 UTC
  • mfrom: (1045.1.14 trunk)
  • Revision ID: afb@users.sourceforge.net-20110815075902-pnug2g35cuot83kr
merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
                    rc = cmp(getArchColor(selfarch), getArchColor(otherarch))
259
259
                if rc == 0:
260
260
                    if selfver != otherver:
261
 
                        rc = vercmp(self.version, other.version)
 
261
                        rc = vercmp(selfver, otherver)
262
262
                    if rc == 0:
263
263
                        rc = -cmp(archscore(selfarch), archscore(otherarch))
264
264
        return rc == -1