mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "Sync latest openstack-common."
This commit is contained in:
commit
50ceef8fb7
1 changed files with 7 additions and 0 deletions
|
|
@ -25,6 +25,13 @@ import os
|
|||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
possible_topdir = os.getcwd()
|
||||
if os.path.exists(os.path.join(possible_topdir, "openstackclient",
|
||||
"__init__.py")):
|
||||
sys.path.insert(0, possible_topdir)
|
||||
|
||||
|
||||
from openstackclient.openstack.common import cfg
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue