Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/activity
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-07-13 21:31:03 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-07-13 21:31:03 (GMT)
commit2cf15ff1f87482882c98fcb618c59e9f8eedb34e (patch)
tree7bcecac3901e404d9e8274d91bcf1f0aee0e24c1 /sugar/activity
parent53bf6bca074c447d448bc8112abd96beceb6e10d (diff)
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.
Diffstat (limited to 'sugar/activity')
-rw-r--r--sugar/activity/bundlebuilder.py5
1 files changed, 1 insertions, 4 deletions
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: