mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Replace trailing comments with block-level comments
This commit is contained in:
		
							parent
							
								
									7677ff209c
								
							
						
					
					
						commit
						c581ce4c81
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -261,11 +261,13 @@ def add_defaults(self): | |||
|         # getting distribution.data_files | ||||
|         if self.distribution.has_data_files(): | ||||
|             for item in self.distribution.data_files: | ||||
|                 if isinstance(item, str): # plain file | ||||
|                 if isinstance(item, str): | ||||
|                     # plain file | ||||
|                     item = convert_path(item) | ||||
|                     if os.path.isfile(item): | ||||
|                         self.filelist.append(item) | ||||
|                 else:    # a (dirname, filenames) tuple | ||||
|                 else: | ||||
|                     # a (dirname, filenames) tuple | ||||
|                     dirname, filenames = item | ||||
|                     for f in filenames: | ||||
|                         f = convert_path(f) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jason R. Coombs
						Jason R. Coombs