From 616b9dd50bf4338e8cc296a67cdcc1c54b3fc28d Mon Sep 17 00:00:00 2001 From: barrierye Date: Tue, 21 Apr 2020 23:35:00 +0800 Subject: [PATCH] remove useless code --- python/paddle_serving_server/monitor.py | 2 +- python/paddle_serving_server_gpu/monitor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle_serving_server/monitor.py b/python/paddle_serving_server/monitor.py index 4b94beba..a6d235d0 100644 --- a/python/paddle_serving_server/monitor.py +++ b/python/paddle_serving_server/monitor.py @@ -352,7 +352,7 @@ class GeneralMonitor(Monitor): cmd = 'wget -nH -r -P {} {} &>/dev/null'.format( os.path.join(local_tmp_path, dirname), url) else: - # the remote file is a package file + # the remote file is a packed model file cmd = 'wget -nd -N -P {} {} &>/dev/null'.format(local_tmp_path, url) _LOGGER.debug('wget cmd: {}'.format(cmd)) if os.system(cmd) != 0: diff --git a/python/paddle_serving_server_gpu/monitor.py b/python/paddle_serving_server_gpu/monitor.py index 4b94beba..a6d235d0 100644 --- a/python/paddle_serving_server_gpu/monitor.py +++ b/python/paddle_serving_server_gpu/monitor.py @@ -352,7 +352,7 @@ class GeneralMonitor(Monitor): cmd = 'wget -nH -r -P {} {} &>/dev/null'.format( os.path.join(local_tmp_path, dirname), url) else: - # the remote file is a package file + # the remote file is a packed model file cmd = 'wget -nd -N -P {} {} &>/dev/null'.format(local_tmp_path, url) _LOGGER.debug('wget cmd: {}'.format(cmd)) if os.system(cmd) != 0: -- GitLab