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=8bfcc14713a71f43f155e3cddec168380134d344;hpb=b95133489d1cd16e1692085b1193d24d52c858fc;ds=sidebyside 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):