diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-11-01 19:54:12 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-11-01 19:54:12 (GMT) |
commit | f2d883b7de63e8ff29317ab5b88c7cd778432ecf (patch) | |
tree | 14fb73b40bfa4187b1139f36084dff0e7d2aba07 | |
parent | fc8c6eddc1ec1584d4e4bc9877b9daa3b64d8c43 (diff) |
Revert a change that slipped in the last commit.
-rw-r--r-- | misc.py | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -132,12 +132,8 @@ def get_bundle(jobject): try: if jobject.is_activity_bundle(): return ActivityBundle(jobject.file_path) - elif jobject.is_content_bundle(): - return ContentBundle(jobject.file_path) - elif jobject.is_entry_bundle(): - return EntryBundle(jobject.file_path) else: - return None + return ContentBundle(jobject.file_path) except MalformedBundleException, e: logging.warning('Incorrect bundle: %r' % e) return None |