[jhbuild] [config] don't fail setting slaves dir when current working dir doesn't exist
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild] [config] don't fail setting slaves dir when current working dir doesn't exist
- Date: Sun, 26 Jul 2009 19:30:20 +0000 (UTC)
commit 7ba20e62cfdd92fb88e5fbe98fc47659619ff920
Author: Frédéric Péters <fpeters 0d be>
Date: Sun Jul 26 21:27:49 2009 +0200
[config] don't fail setting slaves dir when current working dir doesn't exist
jhbuild/defaults.jhbuildrc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/defaults.jhbuildrc b/jhbuild/defaults.jhbuildrc
index badf516..621e208 100644
--- a/jhbuild/defaults.jhbuildrc
+++ b/jhbuild/defaults.jhbuildrc
@@ -153,7 +153,10 @@ jhbuildbot_password = None
# options for jhbuildbot master
jhbuildbot_svn_commits_box = None
-jhbuildbot_slaves_dir = os.path.abspath(".")
+try:
+ jhbuildbot_slaves_dir = os.path.abspath(".")
+except OSError:
+ jhbuildbot_slaves_dir = '.'
jhbuildbot_dir = None
jhbuildbot_mastercfg = "master.cfg"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]