diff options
author | Marco 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) |
commit | 11437e34849b77a84fa94ff9ea65d0ca8f6f35e3 (patch) | |
tree | f77b467814a70e7b4b1e13c9e006bbd7a51c076b /bin | |
parent | 42fef182f4a2853cd7da0c550f77a81c5f749d90 (diff) |
Add mime matching to the registry.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/sugar-install-bundle | 4 |
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: |