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.
This commit is contained in:
Marco Pesenti Gritti 2007-07-13 23:31:03 +02:00
parent 53bf6bca07
commit 2cf15ff1f8

View File

@ -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: