Merge "Improve the detect backup was created when parse log"

This commit is contained in:
Zuul 2022-02-13 11:25:48 +00:00 committed by Gerrit Code Review
commit 39322f5ad8
1 changed files with 4 additions and 3 deletions

View File

@ -14,10 +14,11 @@
import os import os
import sys
from oslo_config import cfg from oslo_config import cfg
from oslo_log import log as logging from oslo_log import log as logging
from oslo_utils import importutils from oslo_utils import importutils
import sys
topdir = os.path.normpath( topdir = os.path.normpath(
os.path.join(os.path.abspath(sys.argv[0]), os.pardir, os.pardir)) os.path.join(os.path.abspath(sys.argv[0]), os.pardir, os.pardir))