X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fn2vc_conn.py;h=5e11b5f9708aba449b6e867d9bf09fa23d704346;hp=656eec732f8ff68035d6d4330642fa75dfec66a0;hb=ecce7b91eee823b58022cfe3c612684364e85629;hpb=bd808f24d6abbdd40ec7d9456b10b8f1be17fb08 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):