X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=n2vc%2Fn2vc_conn.py;fp=n2vc%2Fn2vc_conn.py;h=5e11b5f9708aba449b6e867d9bf09fa23d704346;hb=ecce7b91eee823b58022cfe3c612684364e85629;hp=656eec732f8ff68035d6d4330642fa75dfec66a0;hpb=4c20259353e172f97b2d6e99b64ada3f2e8ea2a3;p=osm%2FN2VC.git diff --git a/n2vc/n2vc_conn.py b/n2vc/n2vc_conn.py index 656eec7..5e11b5f 100644 --- 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: - 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):