Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-11-01 19:54:12 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-11-01 19:54:12 (GMT)
commitf2d883b7de63e8ff29317ab5b88c7cd778432ecf (patch)
tree14fb73b40bfa4187b1139f36084dff0e7d2aba07
parentfc8c6eddc1ec1584d4e4bc9877b9daa3b64d8c43 (diff)
Revert a change that slipped in the last commit.
-rw-r--r--misc.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/misc.py b/misc.py
index 23459a9..c9fc1a7 100644
--- a/misc.py
+++ b/misc.py
@@ -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