Skip to content
Snippets Groups Projects

Fix all linting violation

Merged Bo-Chun Chen requested to merge louistw/account-app:fix-linting into master
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
+ 3
2
@@ -9,6 +9,7 @@ from flask_socketio import SocketIO
# local imports
import vars
sys.path.append(vars.rabbitmq_agents_loc)
import rc_util # noqa: E402
@@ -70,7 +71,7 @@ def send_msg(event, room):
socketio.emit(event, room=room)
#def timeout_handler(signum, frame):
# def timeout_handler(signum, frame):
# print("Process timeout, there's might some issue with agents")
# socketio.emit("account error", errmsg, room=room)
# rc_util.rc_rmq.stop_consume()
@@ -124,7 +125,7 @@ def celery_certify_account(json, session):
)
send_msg("certifying account", room)
print(username)
rc_util.certify_account(username, queuename, 'ok', 'all', updated_by, host)
rc_util.certify_account(username, queuename, "ok", "all", updated_by, host)
print("sent account info")
print("Waiting for certification...")
rc_util.consume(
Loading