Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-jhbuild
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-01-21 14:10:48 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-01-21 14:10:48 (GMT)
commit8cb9f1b56192c579164672921be1741b8ad913a5 (patch)
tree748a9b18e4fcc7495aa1700769c58d89d7e07db5 /sugar-jhbuild
parent3aeac4c6f6d03df3e86a7295064f80203368ed7c (diff)
Register sanitycheck as a jhbuild command, override the default one.
Diffstat (limited to 'sugar-jhbuild')
-rwxr-xr-xsugar-jhbuild17
1 files changed, 3 insertions, 14 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild
index 4eb5223..6c3135c 100755
--- a/sugar-jhbuild
+++ b/sugar-jhbuild
@@ -9,18 +9,10 @@ sys.path.append(os.path.join(base_dir, 'build-scripts', 'jhbuild'))
import jhbuild.commands
import bundlemodule
+import sanitycheck
+
from config import Config
from updater import Updater
-from dependencychecker import DependencyChecker
-
-def cmd_sanitycheck():
- checker = DependencyChecker()
- checker.check_python('2.5')
-
- print 'Missing dependencies:'
- if len(checker.get_missing()) > 0:
- for missing in checker.get_missing():
- print missing
updater = Updater(base_dir)
updater.update()
@@ -36,7 +28,4 @@ if len(sys.argv) > 0:
if len(sys.argv) > 1:
args = sys.argv[2:]
-if command == 'sanitycheck':
- cmd_sanitycheck()
-else:
- jhbuild.commands.run(command, config, args)
+jhbuild.commands.run(command, config, args)