[llvm-commits] [zorg] r153605 - /zorg/trunk/lnt/lnt/util/ServerUtil.py
Daniel Dunbar
daniel at zuster.org
Wed Mar 28 14:33:51 PDT 2012
Author: ddunbar
Date: Wed Mar 28 16:33:51 2012
New Revision: 153605
URL: http://llvm.org/viewvc/llvm-project?rev=153605&view=rev
Log:
[lnt] Fix refacto, we weren't returning server result when submitting to a
server.
Modified:
zorg/trunk/lnt/lnt/util/ServerUtil.py
Modified: zorg/trunk/lnt/lnt/util/ServerUtil.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/util/ServerUtil.py?rev=153605&r1=153604&r2=153605&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/util/ServerUtil.py (original)
+++ zorg/trunk/lnt/lnt/util/ServerUtil.py Wed Mar 28 16:33:51 2012
@@ -27,7 +27,7 @@
# The result is expected to be a JSON object.
try:
- result = json.loads(result_data)
+ return json.loads(result_data)
except:
import traceback
print "Unable to load result, not a valid JSON object."
More information about the llvm-commits
mailing list