From eb089bd125966d5948699df7b9115a242149ea2e Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: Tue, 16 Aug 2011 13:03:35 +0200 Subject: Nitrate: Sort order now returned as a string --- Nitrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nitrate.py b/Nitrate.py index f9f8fda..fdd68d9 100644 --- a/Nitrate.py +++ b/Nitrate.py @@ -2461,7 +2461,7 @@ class CaseRun(Mutable): self._assignee = User(caserunhash["assignee_id"]) self._build = Build(caserunhash["build_id"]) self._notes = caserunhash["notes"] - self._sortkey = caserunhash["sortkey"] + self._sortkey = int(caserunhash["sortkey"]) self._status = Status(caserunhash["case_run_status_id"]) self._testrun = TestRun(caserunhash["run_id"]) if testcasehash: -- cgit