diff options
author | Sayamindu Dasgupta <sayamindu@gmail.com> | 2010-02-08 18:16:22 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2010-02-08 18:16:22 (GMT) |
commit | ffe3504e0aba59f7bf7ae65e8f427647f3a4600a (patch) | |
tree | 746cf30661ee16524ebba444f2a3bc71b3aad348 /src | |
parent | 85840b269f9b28f9d53f5159d23eeedf744135a6 (diff) |
Should be and, and not or
Diffstat (limited to 'src')
-rw-r--r-- | src/sugar/activity/i18n.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/activity/i18n.py b/src/sugar/activity/i18n.py index e45fc19..a91b912 100644 --- a/src/sugar/activity/i18n.py +++ b/src/sugar/activity/i18n.py @@ -117,7 +117,7 @@ def get_locale_path(bundle_id): gconf_client = gconf.client_get_default() package_dir = gconf_client.get_string("/desktop/sugar/i18n/langpackdir") - if package_dir is not None or package_dir is not '': + if package_dir is not None and package_dir is not '': candidate_dirs[package_dir] = 1 candidate_dirs[os.path.join(sys.prefix, 'share', 'locale')] = 0 |