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

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

commit 391558b4a7469a8daf4bfbda3c064aea5b7e5ccb
Author: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
Date:   Mon Jul 23 21:42:30 2012 +0200

    Do not fail if HOME dir is read-only, needed for building with sbuild.
---
 debian/changelog       | 4 +++-
 pyhoca/cli/frontend.py | 6 ++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4468c857..4b26feb4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 pyhoca-cli (0.2.0.2-0~x2go1) UNRELEASED; urgency=low
 
-  * Continue development...
+  * New upstream version (0.2.0.2):
+    - Do not fail if HOME dir is read-only, needed for building with
+      sbuild.
 
  -- Mike Gabriel <mike.gabr...@das-netzwerkteam.de>  Mon, 11 Jun 2012 07:48:22 
+0200
 
diff --git a/pyhoca/cli/frontend.py b/pyhoca/cli/frontend.py
index b957faec..76363993 100644
--- a/pyhoca/cli/frontend.py
+++ b/pyhoca/cli/frontend.py
@@ -44,11 +44,13 @@ from x2go.utils import touch_file as _touch_file
 # 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):
-    _touch_file(ssh_known_hosts_filename)
+    try: _touch_file(ssh_known_hosts_filename)
+    except OSError: pass
 # define and create ssh_config file (if not there)
 ssh_config_filename = os.path.join(x2go.LOCAL_HOME, x2go.X2GO_SSH_ROOTDIR, 
'config')
 if not os.path.isfile(ssh_config_filename):
-    _touch_file(ssh_config_filename)
+    try: _touch_file(ssh_config_filename)
+    except OSError: pass
 
 
 # sometimes we have to fail...

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