mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Removing low level PyAccess debug logging
This commit is contained in:
		
							parent
							
								
									21459e9ab4
								
							
						
					
					
						commit
						e3a8044a38
					
				| 
						 | 
				
			
			@ -54,7 +54,9 @@ class PyAccess(object):
 | 
			
		|||
        self.xsize = vals['xsize']
 | 
			
		||||
        self.ysize = vals['ysize']
 | 
			
		||||
 | 
			
		||||
        logger.debug("%s", vals)
 | 
			
		||||
        # Debugging is polluting test traces, only useful here
 | 
			
		||||
        # when hacking on PyAccess
 | 
			
		||||
        #logger.debug("%s", vals)
 | 
			
		||||
        self._post_init()
 | 
			
		||||
 | 
			
		||||
    def _post_init(self):
 | 
			
		||||
| 
						 | 
				
			
			@ -310,7 +312,6 @@ def new(img, readonly=False):
 | 
			
		|||
    if not access_type:
 | 
			
		||||
        logger.debug("PyAccess Not Implemented: %s", img.mode)
 | 
			
		||||
        return None
 | 
			
		||||
    logger.debug("New PyAccess: %s", img.mode)
 | 
			
		||||
    return access_type(img, readonly)
 | 
			
		||||
 | 
			
		||||
# End of file
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user