summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Šplíchal <psplicha@redhat.com>2011-08-16 13:03:35 +0200
committerPetr Šplíchal <psplicha@redhat.com>2011-08-16 13:03:35 +0200
commiteb089bd125966d5948699df7b9115a242149ea2e (patch)
tree3155dbe2de3a7d9cebd32269fde426f07127e7a8
parent89224a273d3b84f078d68b314955ff2355edffdd (diff)
downloadpython-nitrate-eb089bd125966d5948699df7b9115a242149ea2e.tar.gz
python-nitrate-eb089bd125966d5948699df7b9115a242149ea2e.tar.xz
python-nitrate-eb089bd125966d5948699df7b9115a242149ea2e.zip
Nitrate: Sort order now returned as a string
-rw-r--r--Nitrate.py2
1 files changed, 1 insertions, 1 deletions
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: