Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-05-27 18:43:31 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-05-27 18:43:31 (GMT)
commit11437e34849b77a84fa94ff9ea65d0ca8f6f35e3 (patch)
treef77b467814a70e7b4b1e13c9e006bbd7a51c076b /bin
parent42fef182f4a2853cd7da0c550f77a81c5f749d90 (diff)
Add mime matching to the registry.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sugar-install-bundle4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sugar-install-bundle b/bin/sugar-install-bundle
index 359c1c0..01a45ae 100755
--- a/bin/sugar-install-bundle
+++ b/bin/sugar-install-bundle
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+a#!/usr/bin/env python
import sys
import os
import zipfile
@@ -44,7 +44,7 @@ if os.spawnlp(os.P_WAIT, 'unzip', 'unzip', sys.argv[1], '-d', bundle_dir):
raise RuntimeError, 'An error occurred while extracting the .xo contents.'
# notify shell of new bundle
-if not dbus_service.add_bundle(bundle_path):
+if not dbus_service.AddBundle(bundle_path):
# error, let's delete the just expanded bundle.
for root, dirs, files in os.walk(bundle_path, topdown=False):
for name in files: