[X2Go-Commits] [x2goclient] 33/94: * fixing handling of add_to_known_hosts and known_hosts parameters

git-admin at x2go.org git-admin at x2go.org
Fri Dec 15 21:04:38 CET 2023


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to annotated tag 0.1.4.0
in repository x2goclient.

commit 516921e6e1fc5f62af55aaa8bd670c66aca6a55e
Author: mike <mike at cdb5e8f1-f799-4276-8919-bce57fd91830>
Date:   Thu Dec 30 23:10:32 2010 +0000

    * fixing handling of add_to_known_hosts and known_hosts parameters
    
    
    git-svn-id: https://svn.das-netzwerkteam.de/x2go/pyhoca-cli/trunk@281 cdb5e8f1-f799-4276-8919-bce57fd91830
---
 pyhoca/cli/frontend.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pyhoca/cli/frontend.py b/pyhoca/cli/frontend.py
index 838bfb3a..bdda1d4a 100644
--- a/pyhoca/cli/frontend.py
+++ b/pyhoca/cli/frontend.py
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 # -*- coding: utf-8 -*-
 
 # Copyright (C) 2010 by Mike Gabriel <m.gabriel at das-netzwerkteam.de>
@@ -44,6 +43,7 @@ def _touch_file(filename):
     f = open(filename, 'w')
     f.close()
 
+
 # define and create known_hosts file (if not there)
 ssh_known_hosts_filename = os.path.join(x2go.LOCAL_HOME, x2go.X2GO_SSH_ROOTDIR, 'known_hosts')
 if not os.path.isfile(ssh_known_hosts_filename):
@@ -53,6 +53,7 @@ ssh_config_filename = os.path.join(x2go.LOCAL_HOME, x2go.X2GO_SSH_ROOTDIR, 'conf
 if not os.path.isfile(ssh_config_filename):
     _touch_file(ssh_config_filename)
 
+
 # sometimes we have to fail...
 def runtime_error(m, parser=None, exitcode=-1):
     """\

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list