Commit 000c1580 authored by Lucas Carvalho's avatar Lucas Carvalho

If signature available we must pop it from kw.

We should not send the signature in the property dict. Otherwise,
the validation of json schema will fail.
parent 1a340b24
...@@ -106,7 +106,7 @@ class NetworkcacheClient(object): ...@@ -106,7 +106,7 @@ class NetworkcacheClient(object):
if sha512 is None: if sha512 is None:
kw['sha512'] = sha512sum kw['sha512'] = sha512sum
signature = kw.get('signature', None) signature = kw.pop('signature', None)
if signature is None: if signature is None:
signature = '' signature = ''
data = [kw, signature] data = [kw, signature]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment