Code Review
/
nfvbench.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
nfvbenchvm: set mgmt interface MTU=1500 by default
[nfvbench.git]
/
nfvbench
/
credentials.py
diff --git
a/nfvbench/credentials.py
b/nfvbench/credentials.py
index
7562896
..
7c48879
100644
(file)
--- a/
nfvbench/credentials.py
+++ b/
nfvbench/credentials.py
@@
-138,7
+138,7
@@
class Credentials(object):
if openrc_file:
if isinstance(openrc_file, str):
if os.path.exists(openrc_file):
if openrc_file:
if isinstance(openrc_file, str):
if os.path.exists(openrc_file):
- with open(openrc_file) as rc_file:
+ with open(openrc_file
, encoding="utf-8"
) as rc_file:
self.__parse_openrc(rc_file)
else:
LOG.error('Error: rc file does not exist %s', openrc_file)
self.__parse_openrc(rc_file)
else:
LOG.error('Error: rc file does not exist %s', openrc_file)