mirror of
https://github.com/httpie/cli.git
synced 2025-02-16 17:40:51 +01:00
Use set literal
This commit is contained in:
parent
9bd8b4e8f7
commit
2579827418
@ -172,5 +172,5 @@ class Session(BaseConfigDict):
|
|||||||
|
|
||||||
@auth.setter
|
@auth.setter
|
||||||
def auth(self, auth):
|
def auth(self, auth):
|
||||||
assert set(['type', 'raw_auth']) == set(auth.keys())
|
assert {'type', 'raw_auth'} == auth.keys()
|
||||||
self['auth'] = auth
|
self['auth'] = auth
|
||||||
|
Loading…
Reference in New Issue
Block a user