This commit is contained in:
Tomeu Vizoso
2007-02-25 18:03:17 +01:00
parent 4299dd6765
commit a9c4e4b8e5
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ def get_bundle_root_dir(file_names):
bundle_root_dir = None
for file_name in file_names:
if not bundle_root_dir:
bundle_root_dir = file_name.partition('/')[0]
bundle_root_dir = file_name.split('/')[0]
if not bundle_root_dir.endswith('.activity'):
raise 'Incorrect bundle.'
else: