~fginther/jenkins-launchpad-plugin/revisions-as-str

Viewing all changes in revision 133.

  • Committer: Josh Powers
  • Date: 2017-03-08 18:03:45 UTC
  • Revision ID: josh.powers@canonical.com-20170308180345-9x2rzl0eiu763uun
Forcing the revisions to be strings

With the changes adding in git support there are situations where the
returning value of latest_review can be unicode and not int. Therefore,
the comparison of a unicode and int object will fail. This force both
to use string comparison which works for git hases and bzr ints.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: