From 819f79bf76833e348ab108f0034a3a310eee434f Mon Sep 17 00:00:00 2001 From: jiasirui Date: Wed, 13 Oct 2021 14:23:05 +0800 Subject: [PATCH] remove useless code Change-Id: Iaeedc37042c24add57326802b9380dbea06cc368 --- venus/cmd/api.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/venus/cmd/api.py b/venus/cmd/api.py index 60c6d42..73e08cc 100644 --- a/venus/cmd/api.py +++ b/venus/cmd/api.py @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. -"""Starter script for Venus OS API.""" +"""Starter script for Venus API.""" import eventlet import sys @@ -22,7 +22,6 @@ from oslo_reports import guru_meditation_report as gmr from venus.conf import CONF from venus import i18n -from venus import objects from venus import service from venus import utils from venus import version @@ -32,7 +31,6 @@ i18n.enable_lazy() def main(): - objects.register_all() CONF(sys.argv[1:], project='venus', version=version.version_string()) # logdir = CONF.log_dir