[X2Go-Commits] [x2goclient] 20/94: * added support for retrieving current local user from x2go module

git-admin at x2go.org git-admin at x2go.org
Fri Dec 15 21:04:34 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 a711bdc4dfe3a2862d54e88ee5f5e52c228a9ed9
Author: mike <mike at cdb5e8f1-f799-4276-8919-bce57fd91830>
Date:   Sun Nov 21 13:33:13 2010 +0000

    * added support for retrieving current local user from x2go module
    
    
    git-svn-id: https://svn.das-netzwerkteam.de/x2go/pyhoca-cli/trunk@82 cdb5e8f1-f799-4276-8919-bce57fd91830
---
 pyhoca/cli/frontend.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyhoca/cli/frontend.py b/pyhoca/cli/frontend.py
index 4a2ca6d7..e5c38326 100644
--- a/pyhoca/cli/frontend.py
+++ b/pyhoca/cli/frontend.py
@@ -41,11 +41,11 @@ current_home = os.path.expanduser("~")
 # define and create known_hosts file (if not there)
 ssh_known_hosts_filename = os.path.join(current_home, '.ssh', 'known_hosts')
 if not os.path.isfile(ssh_known_hosts_filename):
-    self._touch_file(ssh_known_hosts_filename)
+    _touch_file(ssh_known_hosts_filename)
 # define and create ssh_config file (if not there)
 ssh_config_filename = os.path.join(current_home, '.ssh', 'config')
 if not os.path.isfile(ssh_config_filename):
-    self._touch_file(ssh_config_filename)
+    _touch_file(ssh_config_filename)
 
 def _touch_file(filename):
 

--
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