diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-11-01 17:34:20 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-11-01 17:34:20 (GMT) |
commit | fc8c6eddc1ec1584d4e4bc9877b9daa3b64d8c43 (patch) | |
tree | 37a15d806c000ebe509c144e757d0d2813c5b092 /misc.py | |
parent | b25544d196dc9ff7e509c13867cd468b7bdaed6a (diff) |
#3498, #4558 Mount removable devices as utf8.
Diffstat (limited to 'misc.py')
-rw-r--r-- | misc.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -132,8 +132,12 @@ def get_bundle(jobject): try: if jobject.is_activity_bundle(): return ActivityBundle(jobject.file_path) - else: + elif jobject.is_content_bundle(): return ContentBundle(jobject.file_path) + elif jobject.is_entry_bundle(): + return EntryBundle(jobject.file_path) + else: + return None except MalformedBundleException, e: logging.warning('Incorrect bundle: %r' % e) return None |