summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Hajdan, Jr <phajdan.jr@gentoo.org>2012-08-01 09:11:49 +0200
committerPawel Hajdan, Jr <phajdan.jr@gentoo.org>2012-08-01 09:11:49 +0200
commit64ebf043ef6bd7481b3701a6e69735ca618fd2f9 (patch)
tree708cac9ad57596814f6df5916fc94198af46720b
parentImprove stabilization-candidates (misc updates) (diff)
downloadarch-tools-64ebf043ef6bd7481b3701a6e69735ca618fd2f9.tar.gz
arch-tools-64ebf043ef6bd7481b3701a6e69735ca618fd2f9.tar.bz2
arch-tools-64ebf043ef6bd7481b3701a6e69735ca618fd2f9.zip
Fix an exception when best_version was not a string
-rwxr-xr-xstabilization-candidates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stabilization-candidates.py b/stabilization-candidates.py
index 77a9a74..a5724ff 100755
--- a/stabilization-candidates.py
+++ b/stabilization-candidates.py
@@ -89,7 +89,7 @@ if __name__ == "__main__":
# Only consider the best version for stabilization.
# It's usually better tested, and often maintainers refuse
# to stabilize anything else, e.g. bug #391607.
- best_candidate = candidates[0]
+ best_candidate = str(candidates[0])
pv = portage.versions.catsplit(best_candidate)[1]
try: