jhbuild r2227 - in trunk: . jhbuild/commands
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r2227 - in trunk: . jhbuild/commands
- Date: Thu, 14 Aug 2008 08:40:13 +0000 (UTC)
Author: fpeters
Date: Thu Aug 14 08:40:13 2008
New Revision: 2227
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2227&view=rev
Log:
* jhbuild/commands/bot.py: only chdir() once we are sure the directory
exists.
Modified:
trunk/ChangeLog
trunk/jhbuild/commands/bot.py
Modified: trunk/jhbuild/commands/bot.py
==============================================================================
--- trunk/jhbuild/commands/bot.py (original)
+++ trunk/jhbuild/commands/bot.py Thu Aug 14 08:40:13 2008
@@ -181,9 +181,9 @@
usepty = 1
umask = None
basedir = os.path.join(config.checkoutroot, 'jhbuildbot')
- os.chdir(basedir)
if not os.path.exists(os.path.join(basedir, 'builddir')):
os.makedirs(os.path.join(basedir, 'builddir'))
+ os.chdir(basedir)
from buildbot.slave.bot import BuildSlave
s = BuildSlave(master_host, master_port,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]