diff options
author | Andrey "Zed" Zaikin <zed.0xff@gmail.com> | 2018-04-24 14:50:02 +0300 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-05-07 12:26:24 +0000 |
commit | 68e2ffb3ef7e1db908fc874e733d0f4db18e0cb5 (patch) | |
tree | ce399dab098a8949a60b199705d70a1b13bee5bf /src/vpp-api/python/vpp_papi.py | |
parent | 6732aea6a491013bbc1abd23607b68650cd31f04 (diff) |
fix: AttributeError: module 'os' has no attribute 'cwd'
Change-Id: I1c49a12ef7fa7bd0046f1a420b01c1654b6d21ec
Signed-off-by: Andrey "Zed" Zaikin <zed.0xff@gmail.com>
Diffstat (limited to 'src/vpp-api/python/vpp_papi.py')
-rw-r--r-- | src/vpp-api/python/vpp_papi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/python/vpp_papi.py b/src/vpp-api/python/vpp_papi.py index 5fa82a30acb..7305ef38763 100644 --- a/src/vpp-api/python/vpp_papi.py +++ b/src/vpp-api/python/vpp_papi.py @@ -221,7 +221,7 @@ class VPP(): localdir = os.path.dirname(os.path.realpath(main.__file__)) else: # use cwd if there is no calling script - localdir = os.cwd() + localdir = os.getcwd() localdir_s = localdir.split(os.path.sep) def dmatch(dir): |