mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed following SonarQube code smells:
1) Remove this useless assignment to a variable. 2) Remove the unused local variable.
This commit is contained in:
@@ -492,7 +492,7 @@ def socket_input(data):
|
||||
enter_key_press(data)
|
||||
else:
|
||||
other_key_press(data)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
# Delete socket id from sessions.
|
||||
# request.sid: refer request.sid as socket id.
|
||||
sio.emit('pty-output',
|
||||
|
Reference in New Issue
Block a user