summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorjasplin <qt-info@nokia.com>2011-02-04 13:17:20 +0100
committerjasplin <qt-info@nokia.com>2011-02-04 13:17:20 +0100
commit4675894b027d2f18bf214b95a6d07da264e37dff (patch)
tree830cff27a2f78c52fc6e5f324de4f157ebddb44b /scripts
parentd7b560485dd0f943c3aee093b2708c546dc67804 (diff)
Minor addition to error message.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/finalizeresults.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/finalizeresults.py b/scripts/finalizeresults.py
index 60c41f0..70d73ba 100755
--- a/scripts/finalizeresults.py
+++ b/scripts/finalizeresults.py
@@ -236,7 +236,9 @@ def updateRankings(host_id, platform_id, branch_id, sha1_id, context_id):
sha11_pos = max(0, (sha12_pos - 2 * durtolmax) + 1)
snapshots = snapshots[sha11_pos:(sha12_pos + 1)]
if len(snapshots) < 2:
- print "no observations found before SHA-1:", sha1
+ print (
+ "no observations found before SHA-1: " + sha1 +
+ " (computing rankings makes no sense)")
sys.exit(1)
# Get time series statistics for all benchmarks: