Commit 6d0732be authored by lixiaofang's avatar lixiaofang

catch exe

parent 280def47
...@@ -120,10 +120,9 @@ class Command(BaseCommand): ...@@ -120,10 +120,9 @@ class Command(BaseCommand):
def handle(self, *args, **options): def handle(self, *args, **options):
try: try:
type_name_list = get_type_info_map().keys() type_name_list = get_type_info_map().keys()
logging.info("begin .........!" % type_name_list)
for type_name in type_name_list: for type_name in type_name_list:
logging.info("begin .........!" % type_name)
if len(options["type"]): if len(options["type"]):
if options["type"] == "all" or type_name == options["type"]: if options["type"] == "all" or type_name == options["type"]:
logging.info("begin sync [%s] data to es!" % type_name) logging.info("begin sync [%s] data to es!" % type_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment