diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2006-05-16 20:32:08 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2006-05-16 20:32:08 (GMT) |
commit | 8162cc84680a7afdbf61cb93dc6f7d7b93e20123 (patch) | |
tree | 8720e78f85853313eeef80e475c817c0dec13609 /sugar/__uninstalled__.py | |
parent | 0f7dc51ac0af54b3d11b6d635785be9fe77118f9 (diff) |
Do not rely on dbus auto-activation.
Diffstat (limited to 'sugar/__uninstalled__.py')
-rw-r--r-- | sugar/__uninstalled__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sugar/__uninstalled__.py b/sugar/__uninstalled__.py index 4ffafc8..dd7818e 100644 --- a/sugar/__uninstalled__.py +++ b/sugar/__uninstalled__.py @@ -1,10 +1,9 @@ import os +basedir = os.path.dirname(os.path.dirname(__file__)) data_dirs = [ 'sugar/browser', 'sugar/chat' ] def internal_get_data_file(filename): - basedir = os.path.dirname(os.path.dirname(__file__)) - for data_dir in data_dirs: path = os.path.abspath(os.path.join(basedir, data_dir, filename)) if os.path.isfile(path): |