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 34ba3c7ea1da09ec4a9ba8a175ab2e0b0b4ffb73
Author: mike <mike@cdb5e8f1-f799-4276-8919-bce57fd91830>
Date:   Sun Nov 21 13:56:12 2010 +0000

    * added SSH rootdir variable to Python X2go
    
    
    git-svn-id: https://svn.das-netzwerkteam.de/x2go/pyhoca-cli/trunk@85 
cdb5e8f1-f799-4276-8919-bce57fd91830
---
 pyhoca/cli/frontend.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyhoca/cli/frontend.py b/pyhoca/cli/frontend.py
index e69432d5..eeecd6db 100644
--- a/pyhoca/cli/frontend.py
+++ b/pyhoca/cli/frontend.py
@@ -41,16 +41,16 @@ current_home = os.path.expanduser("~")
 def _touch_file(filename):
 
     if not os.path.isdir(os.path.dirname(filename)):
-        os.makedirs(os.path.dirname(filename), mode='0755')
+        os.makedirs(os.path.dirname(filename), mode=755)
     f = open(filename, 'w')
     f.close()
 
 # define and create known_hosts file (if not there)
-ssh_known_hosts_filename = os.path.join(current_home, '.ssh', 'known_hosts')
+ssh_known_hosts_filename = os.path.join(x2go.X2GO_SSH_ROOTDIR, 'known_hosts')
 if not os.path.isfile(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')
+ssh_config_filename = os.path.join(x2go.X2GO_SSH_ROOTDIR, 'config')
 if not os.path.isfile(ssh_config_filename):
     _touch_file(ssh_config_filename)
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to