Commit 21de1c14 authored by's avatar
Browse files

Fixed a little typo in the hostname extraction for ssh.

parent 132b11b9
......@@ -472,6 +472,8 @@ class codeinjector(baseClass):
hostname = url[url.find("//") +2:]
if ("/" in hostname):
hostname = hostname[:hostname.find("/")]
if (hostname.startsWith("www.")):
hostname = hostname[4:]
self._log("Trying to connect to ssh://'%s'"%(hostname), self.LOG_DEBUG)
self._log("SSH-Username: %s"%(kickstarter), self.LOG_DEVEL)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment