update the build_apps.py, now it can recognize build and preserve keys

This commit is contained in:
Fu Hanxi
2020-04-23 18:48:51 +08:00
parent ba12a549bb
commit 2d57fd7fca
4 changed files with 15 additions and 13 deletions

View File

@@ -392,9 +392,3 @@ def setup_logging(args):
stream=args.log_file or sys.stderr,
level=log_level,
)
def safe_exit_if_file_is_empty(file_name):
if os.stat(file_name).st_size == 0:
logging.warning('Skipping all...')
sys.exit(0)