projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert ""Remove unused lines of code""
[osm/N2VC.git]
/
n2vc
/
n2vc_conn.py
diff --git
a/n2vc/n2vc_conn.py
b/n2vc/n2vc_conn.py
index
656eec7
..
5e11b5f
100644
(file)
--- a/
n2vc/n2vc_conn.py
+++ b/
n2vc/n2vc_conn.py
@@
-142,7
+142,7
@@
class N2VCConnector(abc.ABC, Loggable):
# Find the path where we expect our key lives (~/.ssh)
homedir = os.environ.get("HOME")
if not homedir:
# Find the path where we expect our key lives (~/.ssh)
homedir = os.environ.get("HOME")
if not homedir:
- self.warning("No HOME environment variable, using /tmp")
+ self.
log.
warning("No HOME environment variable, using /tmp")
homedir = "/tmp"
sshdir = "{}/.ssh".format(homedir)
if not os.path.exists(sshdir):
homedir = "/tmp"
sshdir = "{}/.ssh".format(homedir)
if not os.path.exists(sshdir):