From 2cf15ff1f87482882c98fcb618c59e9f8eedb34e Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 13 Jul 2007 21:31:03 +0000 Subject: Require a bundle name argument to start(). Apparently people are doing crazy things and using the parent directory name does not work well in those cases. --- (limited to 'sugar/activity') diff --git a/sugar/activity/bundlebuilder.py b/sugar/activity/bundlebuilder.py index 8e8c49d..e149aa3 100644 --- a/sugar/activity/bundlebuilder.py +++ b/sugar/activity/bundlebuilder.py @@ -331,10 +331,7 @@ def sanity_check(): if not os.path.isfile(_get_source_path('NEWS')): print 'WARNING: NEWS file is missing.' -def start(bundle_name=None, manifest='MANIFEST'): - if not bundle_name: - bundle_name = os.path.basename(_get_source_path()) - +def start(bundle_name, manifest='MANIFEST'): sanity_check() if len(sys.argv) < 2: -- cgit v0.9.1