Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6732aea
)
fix: AttributeError: module 'os' has no attribute 'cwd'
76/12076/2
author
Andrey "Zed" Zaikin
<zed.0xff@gmail.com>
Tue, 24 Apr 2018 11:50:02 +0000
(14:50 +0300)
committer
Ole Trøan
<otroan@employees.org>
Mon, 7 May 2018 12:26:24 +0000
(12:26 +0000)
Change-Id: I1c49a12ef7fa7bd0046f1a420b01c1654b6d21ec
Signed-off-by: Andrey "Zed" Zaikin <zed.0xff@gmail.com>
src/vpp-api/python/vpp_papi.py
patch
|
blob
|
history
diff --git
a/src/vpp-api/python/vpp_papi.py
b/src/vpp-api/python/vpp_papi.py
index
5fa82a3
..
7305ef3
100644
(file)
--- 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.
get
cwd()
localdir_s = localdir.split(os.path.sep)
def dmatch(dir):