summaryrefslogtreecommitdiffstats
path: root/actions
diff options
context:
space:
mode:
authorSebastien Estienne <sebastien.estienne@gmail.com>2005-10-02 00:46:04 +0000
committerSebastien Estienne <sebastien.estienne@gmail.com>2005-10-02 00:46:04 +0000
commit7eb237e388b7cdae0ed5508716fc756545feb9e3 (patch)
tree5227bdf2a18290416b3413ab26661db6c3eb4df6 /actions
parentc69a69f7b314aaa4b1fb265232ae420d076ad245 (diff)
* add a TODO list
* only support IPv4 * fix sftp-ssh git-svn-id: file:///home/lennart/svn/public/service-discovery-applet/trunk@24 3be567f1-68ff-0310-b24a-ad7cc433fd2f
Diffstat (limited to 'actions')
-rwxr-xr-xactions/services/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/services/__init__.py b/actions/services/__init__.py
index bb51b49..748e53c 100755
--- a/actions/services/__init__.py
+++ b/actions/services/__init__.py
@@ -74,7 +74,7 @@ def _ssh_tcp(name, hostname, address, port, txts):
cmdline.append("-e %s" % sshline)
pid = subprocess.Popen(cmdline).pid
-def _sftp-ssh_tcp(name, hostname, address, port, txts):
+def _sftpssh_tcp(name, hostname, address, port, txts):
path = get_txt_value(txts,"path")
username = get_txt_value(txts,"u")
password = get_txt_value(txts,"p")
@@ -95,7 +95,7 @@ def handle(name, stype, hostname, address, port, txts):
_ssh_tcp(name, hostname, address, port, txts)
return
if stype == "_sftp-ssh._tcp":
- _sftp-ssh_tcp(name, hostname, address, port, txts)
+ _sftpssh_tcp(name, hostname, address, port, txts)
return