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:
		
							parent
							
								
									53bf6bca07
								
							
						
					
					
						commit
						2cf15ff1f8
					
				@ -331,10 +331,7 @@ def sanity_check():
 | 
				
			|||||||
    if not os.path.isfile(_get_source_path('NEWS')):
 | 
					    if not os.path.isfile(_get_source_path('NEWS')):
 | 
				
			||||||
        print 'WARNING: NEWS file is missing.'
 | 
					        print 'WARNING: NEWS file is missing.'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def start(bundle_name=None, manifest='MANIFEST'):
 | 
					def start(bundle_name, manifest='MANIFEST'):
 | 
				
			||||||
    if not bundle_name:
 | 
					 | 
				
			||||||
        bundle_name = os.path.basename(_get_source_path())
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    sanity_check()
 | 
					    sanity_check()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if len(sys.argv) < 2:
 | 
					    if len(sys.argv) < 2:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user