+1

From: Douglas Mendizabal [mailto:notifications@github.com]
Sent: Wednesday, June 05, 2013 2:22 PM
To: cloudkeep/python-barbicanclient
Cc: Bhandaru, Malini K
Subject: Re: [python-barbicanclient] Add logging and an initial test file (#5)


In barbicanclient/client.py:

>          order_dict = {'secret': {}}

>          order_dict['secret']['name'] = name

>          order_dict['secret']['mime_type'] = mime_type

>          order_dict['secret']['algorithm'] = algorithm

>          order_dict['secret']['bit_length'] = bit_length

>          order_dict['secret']['cypher_type'] = cypher_type

> +        for k in order_dict['secret'].keys():

+1 add _remove_empty_keys(dictionary)

—
Reply to this email directly or view it on GitHub<https://github.com/cloudkeep/python-barbicanclient/pull/5/files#r4556256>.