Fix PEP8 issues with latest pycodestyle (#6636)

This commit is contained in:
Aditya Toshniwal
2023-07-31 18:14:39 +05:30
committed by GitHub
parent 2aea5b41ad
commit a1c7265c41
12 changed files with 18 additions and 18 deletions

View File

@@ -446,8 +446,8 @@ def compare_database(params):
params['target_sid'])
if not status:
socketio.emit('compare_database_failed',
error_msg.json if type(
error_msg) == Response else error_msg,
error_msg.json if isinstance(
error_msg, Response) else error_msg,
namespace=SOCKETIO_NAMESPACE, to=request.sid)
return error_msg
@@ -585,8 +585,8 @@ def compare_schema(params):
params['target_sid'])
if not status:
socketio.emit('compare_schema_failed',
error_msg.json if type(
error_msg) == Response else error_msg,
error_msg.json if isinstance(
error_msg, Response) else error_msg,
namespace=SOCKETIO_NAMESPACE, to=request.sid)
return error_msg