Skip to content

Commit 9379de8

Browse files
committed
Fix style
1 parent 90bbfb3 commit 9379de8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/azure-cli-core/azure/cli/core/auth/json_cache.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313

1414

1515
class NormalizedResponseJsonEncoder(json.JSONEncoder):
16-
def default(self, obj):
17-
if isinstance(obj, NormalizedResponse):
16+
def default(self, o):
17+
if isinstance(o, NormalizedResponse):
1818
return {
19-
"status_code": obj.status_code,
20-
"text": obj.text,
21-
"headers": obj.headers,
19+
"status_code": o.status_code,
20+
"text": o.text,
21+
"headers": o.headers,
2222
}
23-
return super().default(obj)
23+
return super().default(o)
2424

2525

2626
class JsonCache(MutableMapping):

0 commit comments

Comments
 (0)