Update create account script
use argparse
library to take command line arguments
implement its own callback function for rabbitmq
update consume
function in rc_util
to take routing_key
as argument
I was going to modify worker
in rc_util
, I think it is considered an example and is designed for dev environment. Therefore, I modify create_account.py
instead.
All feedback are welcome.
Merge request reports
Activity
Filter activity
1 #!/usr/bin/env python 2 import sys 1 #!/usr/bin/env python3 3 2 import rc_util 3 import argparse 4 4 Should be fixed in 079f5e6b
Please register or sign in to reply