diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-08-09 11:05:57 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-08-09 11:05:57 (GMT) |
commit | a0c69066d4531a85acfe8917cf94db7a3e36b9d9 (patch) | |
tree | 1b8a4eceae0625815f8679d3e2a630b48484d251 /sugar | |
parent | 7db5479c5c5c9ec6cafb52a60276d80caa6f9fce (diff) |
Remove default_type from the dbus service too
Diffstat (limited to 'sugar')
-rwxr-xr-x | sugar/setup.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sugar/setup.py b/sugar/setup.py index 9803f2d..05dacb3 100755 --- a/sugar/setup.py +++ b/sugar/setup.py @@ -27,19 +27,12 @@ def setup_activity(source, dest_path, bin): logging.error('%s miss the required id option' % (path)) return False - if cp.has_option('Activity', 'default_type'): - default_type = cp.get('Activity', 'default_type') - else: - default_type = None - if cp.has_option('Activity', 'exec'): activity_exec = cp.get('Activity', 'exec') elif cp.has_option('Activity', 'python_module'): python_module = cp.get('Activity', 'python_module') python_module = cp.get('Activity', 'python_module') activity_exec = '%s %s %s' % (bin, activity_id, python_module) - if default_type: - activity_exec += ' ' + default_type else: logging.error('%s must specifiy exec or python_module' % (source)) return False |