remove useless code

Change-Id: Iaeedc37042c24add57326802b9380dbea06cc368
This commit is contained in:
jiasirui 2021-10-13 14:23:05 +08:00
parent 7e394d2b94
commit 819f79bf76

View File

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
"""Starter script for Venus OS API.""" """Starter script for Venus API."""
import eventlet import eventlet
import sys import sys
@ -22,7 +22,6 @@ from oslo_reports import guru_meditation_report as gmr
from venus.conf import CONF from venus.conf import CONF
from venus import i18n from venus import i18n
from venus import objects
from venus import service from venus import service
from venus import utils from venus import utils
from venus import version from venus import version
@ -32,7 +31,6 @@ i18n.enable_lazy()
def main(): def main():
objects.register_all()
CONF(sys.argv[1:], project='venus', CONF(sys.argv[1:], project='venus',
version=version.version_string()) version=version.version_string())
# logdir = CONF.log_dir # logdir = CONF.log_dir