[jhbuild/external-deps] Step command doesnt have a dependency on	buildbot/twisted. This is useful for chrooting..
- From: John Carr <johncarr src gnome org>
 
- To: svn-commits-list gnome org
 
- Subject: [jhbuild/external-deps] Step command doesnt have a dependency on	buildbot/twisted. This is useful for chrooting..
 
- Date: Fri,  5 Jun 2009 03:27:59 -0400 (EDT)
 
commit dcf35f05186f2bfdb5d3f8bf1db02dc5103da506
Author: John Carr <john carr unrouted co uk>
Date:   Fri Jun 5 08:27:32 2009 +0100
    Step command doesnt have a dependency on buildbot/twisted. This is useful for chrooting..
---
 jhbuild/commands/bot.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/jhbuild/commands/bot.py b/jhbuild/commands/bot.py
index 062d831..768a687 100644
--- a/jhbuild/commands/bot.py
+++ b/jhbuild/commands/bot.py
@@ -111,10 +111,11 @@ class cmd_bot(Command):
             if config.use_lib64:
                 pythonpath = os.path.join(config.prefix, 'lib64', pythonversion, 'site-packages')
                 site.addsitedir(pythonpath)
-            try:
-                import buildbot
-            except ImportError:
-                raise FatalError(_('buildbot and twisted not found, run jhbuild bot --setup'))
+            if not options.step:
+                try:
+                    import buildbot
+                except ImportError:
+                    raise FatalError(_('buildbot and twisted not found, run jhbuild bot --setup'))
 
         # make jhbuild config file accessible to buildbot files
         # (master.cfg , steps.py, etc.)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]