Bump client version to 0.2.0
Make invalid bit length error handling consistent between secrets and orders
This commit is contained in:
@@ -198,8 +198,7 @@ class Connection(object):
|
||||
secret_dict['name'] = name
|
||||
secret_dict['algorithm'] = algorithm
|
||||
secret_dict['cypher_type'] = cypher_type
|
||||
if bit_length is not None:
|
||||
secret_dict['bit_length'] = int(bit_length)
|
||||
secret_dict['bit_length'] = bit_length
|
||||
if expiration is not None:
|
||||
secret_dict['expiration'] = parse_isotime(expiration)
|
||||
self._remove_empty_keys(secret_dict)
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import argparse
|
||||
|
||||
from barbicanclient import client
|
||||
|
||||
Reference in New Issue
Block a user