git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated code to work with SLA-Collector module (local instance)
[unfold.git]
/
sla
/
slaclient
/
service
/
fed4fire
/
jsonparser.py
diff --git
a/sla/slaclient/service/fed4fire/jsonparser.py
b/sla/slaclient/service/fed4fire/jsonparser.py
index
3dc8fca
..
04d01a8
100755
(executable)
--- a/
sla/slaclient/service/fed4fire/jsonparser.py
+++ b/
sla/slaclient/service/fed4fire/jsonparser.py
@@
-69,8
+69,6
@@
def agreementinput_from_json(json_data):
}
\r
"""
\r
d = json.loads(json_data)
\r
- if "expiration_time" in d:
\r
- d["expiration_time"] = dateutil.parser.parse(d["expiration_time"])
\r
\r
t = AgreementInput(
\r
agreement_id=d.get("agreement_id", None),
\r