Skip to content

Commit

Permalink
style(exception): use python3 super instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kunliangwu authored and yuri0528 committed Mar 2, 2022
1 parent 469d9b1 commit 2026fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/saas/bkuser_shell/common/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, message=None, data=None, *args):
:param context: 错误消息 format dict
:param args: 其他参数
"""
super(BlueException, self).__init__(message, data, *args)
super().__init__(message, data, *args)
self.message = self.MESSAGE if message is None else message
self.data = data

Expand Down

0 comments on commit 2026fae

Please sign in to comment.