mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Patch from Perry Stoll: OK for list of modules to be empty.
This commit is contained in:
		
							parent
							
								
									2f1b5bb905
								
							
						
					
					
						commit
						5d60fcf02a
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -55,6 +55,10 @@ def run (self): | ||||||
|         # input and output filenames and checking for missing |         # input and output filenames and checking for missing | ||||||
|         # input files. |         # input files. | ||||||
| 
 | 
 | ||||||
|  |         # it's ok not to have *any* py files, right? | ||||||
|  |         if not modules: | ||||||
|  |             return | ||||||
|  |          | ||||||
|         # XXX we should allow for wildcards, so eg. the Distutils setup.py |         # XXX we should allow for wildcards, so eg. the Distutils setup.py | ||||||
|         # file would just have to say |         # file would just have to say | ||||||
|         #   py_modules = ['distutils.*', 'distutils.command.*'] |         #   py_modules = ['distutils.*', 'distutils.command.*'] | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Greg Ward
						Greg Ward