Trivial: remove None as a redundant argument to dict.get()

`dict.get()` returns `None` by default, if a key wasn't found.
Removing `None` as second argument to avoid redundancy.

Change-Id: I898219110206e9c49348f9a36f07b5ba1766f0f1
This commit is contained in:
Chaozhe.Chen
2016-02-21 00:45:40 +08:00
parent 75aa9a6ed4
commit c4e9f491f7

View File

@@ -410,7 +410,7 @@ def _construct_http_client(**kwargs):
'publicURL')),
region_name=kwargs.pop('region_name', None),
user_agent=kwargs.pop('user_agent', 'python-ceilometerclient'),
auth=kwargs.get('auth', None),
auth=kwargs.get('auth'),
timings=kwargs.pop('timings', None),
**kwargs)
else: